From 9ed53a1f23cb6188e4672edf4330144b3543cfb0 Mon Sep 17 00:00:00 2001 From: Ricardo Sanchez Date: Fri, 2 Feb 2024 19:49:30 +0100 Subject: [PATCH] Fix #273. ArgoCD config: exclude VolumeSnapshot and VolumeSnapshotContent resource --- argocd/bootstrap/argocd/values.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/argocd/bootstrap/argocd/values.yaml b/argocd/bootstrap/argocd/values.yaml index 59d1bb4a..4fa8daee 100644 --- a/argocd/bootstrap/argocd/values.yaml +++ b/argocd/bootstrap/argocd/values.yaml @@ -25,6 +25,17 @@ argo-cd: return hs # Enabling Helm chart rendering with Kustomize kustomize.buildOptions: --enable-helm + ## Ignore resources + # https://argo-cd.readthedocs.io/en/stable/operator-manual/declarative-setup/#resource-exclusioninclusion + # Ignore VolumeSnapshot and VolumeSnapshotContent: Created by backup processes. + resource.exclusions: | + - apiGroups: + - snapshot.storage.k8s.io + kinds: + - VolumeSnapshot + - VolumeSnapshotContent + clusters: + - "*" server: # Ingress Resource. LoSnghorn dashboard.