From 4928c71a7c94c1aae9057f21b6b6efe5f4978457 Mon Sep 17 00:00:00 2001 From: Lukas Reining Date: Sat, 19 Apr 2025 21:43:42 +0200 Subject: [PATCH] fix: namespace for ca injection for mutatingwebhook solving #759 Signed-off-by: Lukas Reining --- config/overlays/helm/mutatingwebhook.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/overlays/helm/mutatingwebhook.yaml b/config/overlays/helm/mutatingwebhook.yaml index 0486f64a9..787a3040b 100644 --- a/config/overlays/helm/mutatingwebhook.yaml +++ b/config/overlays/helm/mutatingwebhook.yaml @@ -2,6 +2,8 @@ apiVersion: admissionregistration.k8s.io/v1 kind: MutatingWebhookConfiguration metadata: name: mutating-webhook-configuration + annotations: + cert-manager.io/inject-ca-from: "___'{{ include \"chart.namespace\" . }}/open-feature-operator-serving-cert'___" webhooks: - name: mutate.openfeature.dev failurePolicy: "___{{ .Values.mutatingWebhook.failurePolicy }}___"