From 4257cd9ca0805dd342e19253b87546a85fd808d3 Mon Sep 17 00:00:00 2001 From: Joey Espinosa Date: Wed, 26 Jan 2022 14:23:55 -0500 Subject: [PATCH] feat(chart): update helm to allow for new verbose flag --- chart/templates/deployment.yaml | 4 ++++ chart/values.yaml | 3 +++ 2 files changed, 7 insertions(+) diff --git a/chart/templates/deployment.yaml b/chart/templates/deployment.yaml index f79910d..d85d67e 100644 --- a/chart/templates/deployment.yaml +++ b/chart/templates/deployment.yaml @@ -33,6 +33,10 @@ spec: {{- toYaml .Values.securityContext | nindent 12 }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} + {{- if .Values.verbose }} + args: + - -verbose + {{- end }} ports: - name: internal containerPort: {{ .Values.service.internal.port }} diff --git a/chart/values.yaml b/chart/values.yaml index 0c1999e..3bec657 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -2,6 +2,9 @@ # This is a YAML-formatted file. # Declare variables to be passed into your templates. +# custom values +verbose: false + replicaCount: 1 image: