Add KYVERNO_DEPLOYMENT to initContainer
@@ -75,6 +75,8 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
+ - name: KYVERNO_DEPLOYMENT
+ value: {{ template "kyverno.fullname" . }}
{{- with .Values.envVarsInit }}
{{- toYaml . | nindent 10 }}
{{- end }}
