fix: fix atlantis resource diffing and ignores

This commit is contained in:
Jonas Juselius
2024-06-19 12:02:18 +02:00
parent 423d6c7a63
commit 8827153ac3
2 changed files with 9 additions and 4 deletions
+8 -4
View File
@@ -3,6 +3,8 @@ kind: Application
metadata: metadata:
name: atlantis-host-cluster-resources name: atlantis-host-cluster-resources
namespace: argocd namespace: argocd
# annotations: # close, but no cigar
# argocd.argoproj.io/compare-options: ServerSideDiff=true,IncludeMutationWebhook=true
spec: spec:
project: aux project: aux
destination: destination:
@@ -12,16 +14,18 @@ spec:
prune: false prune: false
selfHeal: false selfHeal: false
ignoreDifferences: ignoreDifferences:
- group: v1 - kind: Secret
kind: Secret
name: prod-rabbitmq name: prod-rabbitmq
jqPathExpressions: jqPathExpressions:
- '.data' - '.data'
- group: v1 - '.metadata.annotations.clone'
kind: Secret - '.metadata.labels'
- kind: Secret
name: prod-redis name: prod-redis
jqPathExpressions: jqPathExpressions:
- '.data' - '.data'
- '.metadata.annotations.clone'
- '.metadata.labels'
sources: sources:
- repoURL: https://gitlab.com/oceanbox/manifests.git - repoURL: https://gitlab.com/oceanbox/manifests.git
targetRevision: main targetRevision: main
+1
View File
@@ -1,3 +1,4 @@
# Currently not in use. Configured via the create-vcluster script.
apiVersion: argoproj.io/v1alpha1 apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet kind: ApplicationSet
metadata: metadata: