From 69ba308687a7d3f0e10223f988e1dcae432ff029 Mon Sep 17 00:00:00 2001 From: windowsrefund Date: Thu, 20 May 2021 11:21:47 -0400 Subject: [PATCH] eliminate duplicate env key --- charts/kyverno/templates/deployment.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/kyverno/templates/deployment.yaml b/charts/kyverno/templates/deployment.yaml index 1f340e1a0e..4dd9f835eb 100644 --- a/charts/kyverno/templates/deployment.yaml +++ b/charts/kyverno/templates/deployment.yaml @@ -64,9 +64,9 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - {{- with .Values.envVars }} - env: - {{- toYaml . | nindent 14 }} + {{- range .Values.envVars }} + - name: {{ .name }} + value: {{ .value | quote }} {{- end }} containers: - name: kyverno