Namespace env variable for initContainer
@@ -5344,6 +5344,10 @@ spec:
- env:
- name: METRICS_CONFIG
value: kyverno-metrics
+ - name: KYVERNO_NAMESPACE
+ valueFrom:
+ fieldRef:
+ fieldPath: metadata.namespace
image: ghcr.io/kyverno/kyvernopre:v1.4.3
imagePullPolicy: IfNotPresent
name: kyverno-pre
