From 6fcb961a6a46188bc78f8f7c462e43bfb6b9be89 Mon Sep 17 00:00:00 2001 From: Guillaume Samson <guillaume.samson@softwareheritage.org> Date: Tue, 11 Mar 2025 16:44:40 +0100 Subject: [PATCH] cluster-configuration/cnpg: Add ignoreDifferences --- .../templates/cloudnative-pg/operator-application.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/cluster-configuration/templates/cloudnative-pg/operator-application.yaml b/cluster-configuration/templates/cloudnative-pg/operator-application.yaml index f0eab6bb4..1289b52fb 100644 --- a/cluster-configuration/templates/cloudnative-pg/operator-application.yaml +++ b/cluster-configuration/templates/cloudnative-pg/operator-application.yaml @@ -25,4 +25,13 @@ spec: selfHeal: {{ .Values.defaultSelfHeal }} syncOptions: - ServerSideApply=true + ignoreDifferences: + - group: admissionregistration.k8s.io + kind: ValidatingWebhookConfiguration + jqPathExpressions: + - '.webhooks[]?.clientConfig.caBundle' + - group: admissionregistration.k8s.io + kind: MutatingWebhookConfiguration + jqPathExpressions: + - '.webhooks[]?.clientConfig.caBundle' {{ end }} -- GitLab