From fe0a6bc823d7e0c8a9a729a07e955e0635aa6fe0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Heleno?= Date: Mon, 17 Jul 2023 15:01:08 +0200 Subject: [PATCH] fix: add replace annotation to force the upgrade of all CRDs on sync --- charts/kube-prometheus-stack/kustomization.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/kube-prometheus-stack/kustomization.yaml b/charts/kube-prometheus-stack/kustomization.yaml index 64821a35..845f2d1a 100644 --- a/charts/kube-prometheus-stack/kustomization.yaml +++ b/charts/kube-prometheus-stack/kustomization.yaml @@ -4,12 +4,12 @@ kind: Kustomization resources: - all.yaml -patchesJson6902: +patches: - target: - group: "apiextensions.k8s.io" + group: apiextensions.k8s.io version: v1 kind: CustomResourceDefinition - name: "prometheuses.monitoring.coreos.com" + name: .*\.monitoring\.coreos\.com patch: |- - op: add path: "/metadata/annotations"