1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-29 02:45:06 +00:00

fix: clean up of extra ENV key in manifest

Signed-off-by: Retna Ramachandran <retna@gjensidige.no>
Signed-off-by: Retna Ramachandran <retna.ramachandran@gjensidige.no>
This commit is contained in:
Retna Ramachandran 2021-06-22 15:35:55 +02:00
parent 194c99564e
commit c95802bf84
No known key found for this signature in database
GPG key ID: 40F343E0B55C9356

View file

@ -67,8 +67,7 @@ spec:
fieldRef:
fieldPath: metadata.namespace
{{- with .Values.envVars }}
env:
{{- toYaml . | nindent 14 }}
{{- toYaml . | nindent 10 }}
{{- end }}
containers:
- name: kyverno
@ -105,8 +104,7 @@ spec:
- name: KYVERNO_SVC
value: {{ template "kyverno.serviceName" . }}
{{- with .Values.envVars }}
env:
{{- toYaml . | nindent 14 }}
{{- toYaml . | nindent 10 }}
{{- end }}
{{- with .Values.livenessProbe }}
livenessProbe: {{ tpl (toYaml .) $ | nindent 12 }}