From f2ee92c78fb89ac1dfdad484d10d2378d2e76ff1 Mon Sep 17 00:00:00 2001 From: Jonas Juselius Date: Tue, 18 Jun 2024 15:10:32 +0200 Subject: [PATCH] fix: argo ignore changes to redis and rabbitmq sercrets (set via kyverno) --- applications/atlantis-host-resources.yaml | 11 +++++++++++ applications/atlantis-resources.yaml | 2 ++ 2 files changed, 13 insertions(+) diff --git a/applications/atlantis-host-resources.yaml b/applications/atlantis-host-resources.yaml index 08d61268..f3a75600 100644 --- a/applications/atlantis-host-resources.yaml +++ b/applications/atlantis-host-resources.yaml @@ -11,6 +11,17 @@ spec: automated: prune: false selfHeal: false + ignoreDifferences: + - group: v1 + kind: Secret + name: prod-rabbitmq + jqPathExpressions: + - '.data' + - group: v1 + kind: Secret + name: prod-redis + jqPathExpressions: + - '.data' sources: - repoURL: https://gitlab.com/oceanbox/manifests.git targetRevision: main diff --git a/applications/atlantis-resources.yaml b/applications/atlantis-resources.yaml index 5fb7b07e..9284f138 100644 --- a/applications/atlantis-resources.yaml +++ b/applications/atlantis-resources.yaml @@ -14,6 +14,8 @@ spec: prune: false # - cluster: https://staging-vcluster.staging-vcluster # env: staging + # autoSync: false + # prune: false template: metadata: name: "{{ .env }}-atlantis-resources"