From 417848a62647562ad76caf904a74e95c092433c5 Mon Sep 17 00:00:00 2001 From: CristhianF7 Date: Mon, 27 Nov 2023 14:21:27 -0500 Subject: [PATCH] fix: extra envs --- charts/console/templates/deployment.yaml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/charts/console/templates/deployment.yaml b/charts/console/templates/deployment.yaml index 0c180792..6c4c3a42 100644 --- a/charts/console/templates/deployment.yaml +++ b/charts/console/templates/deployment.yaml @@ -31,10 +31,6 @@ spec: containers: - name: {{ .Chart.Name }} env: - {{- range $name, $item := .Values.env }} - - name: {{ $name }} - {{- $item | toYaml | nindent 14 }} - {{- end }} - name: API_URL value: {{ .Values.apiURL | default (printf "http://%s-kubefirst-api.%s.svc.cluster.local" (.Release.Name ) (.Release.Namespace )) }} - name: KUBEFIRST_VERSION @@ -58,7 +54,7 @@ spec: key: K1_ACCESS_TOKEN {{- range $key, $value := .Values.extraEnv }} - name: {{ $key }} - value: {{ $value | quote}} + value: {{ $value | quote }} {{ end }} {{- range $key, $value := .Values.extraEnvSecrets }} - name: {{ $key }}