diff --git a/charts/kyverno/templates/deployment.yaml b/charts/kyverno/templates/deployment.yaml index 24d630c682..e0e86637ae 100644 --- a/charts/kyverno/templates/deployment.yaml +++ b/charts/kyverno/templates/deployment.yaml @@ -75,6 +75,8 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace + - name: KYVERNO_DEPLOYMENT + value: {{ template "kyverno.fullname" . }} {{- with .Values.envVarsInit }} {{- toYaml . | nindent 10 }} {{- end }}