From ee15bb9970ee911b599186c80415aff46b8472e7 Mon Sep 17 00:00:00 2001 From: Vegard Hagen Date: Tue, 24 Jan 2023 20:59:44 +0100 Subject: [PATCH] fix(cilium-identity): Excluding CiliumIdentity to avoid ArogCD reporting OutOfSync source: https://docs.cilium.io/en/stable/configuration/argocd-issues/#argo-cd-deletes-customresourcedefinitions --- infra/argocd/config/argocd-cm-kustomize-helm-patch.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/infra/argocd/config/argocd-cm-kustomize-helm-patch.yaml b/infra/argocd/config/argocd-cm-kustomize-helm-patch.yaml index e019785..0891482 100644 --- a/infra/argocd/config/argocd-cm-kustomize-helm-patch.yaml +++ b/infra/argocd/config/argocd-cm-kustomize-helm-patch.yaml @@ -7,4 +7,11 @@ data: - name: kustomize-build-with-helm generate: command: [ "sh", "-c" ] - args: [ "kustomize build --enable-helm" ] \ No newline at end of file + args: [ "kustomize build --enable-helm" ] + resource.exclusions: | + - apiGroups: + - cilium.io + kinds: + - CiliumIdentity + clusters: + - "*"