Skip to content

Commit

Permalink
Add ServerSideDiff annotation to argo application
Browse files Browse the repository at this point in the history
  • Loading branch information
ltellesfl committed Nov 22, 2024
1 parent 744b38f commit 0cb94a1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions azure/ipa.tf
Original file line number Diff line number Diff line change
Expand Up @@ -780,6 +780,7 @@ metadata:
annotations:
avp.kubernetes.io/path: tools/argo/data/ipa-deploy
argocd.argoproj.io/sync-wave: "2"
argocd.argoproj.io/compare-options: ServerSideDiff=true
spec:
destination:
server: ${module.cluster.kubernetes_host}
Expand Down Expand Up @@ -852,6 +853,7 @@ metadata:
name: ${var.label}
annotations:
avp.kubernetes.io/path: tools/argo/data/ipa-deploy
argocd.argoproj.io/compare-options: ServerSideDiff=true
spec:
ignoreDifferences:
- group: apps
Expand Down Expand Up @@ -1015,6 +1017,7 @@ metadata:
- resources-finalizer.argocd.argoproj.io
annotations:
avp.kubernetes.io/path: ${each.value.vaultPath}
argocd.argoproj.io/compare-options: ServerSideDiff=true
labels:
app: ${each.value.name}
region: ${var.region}
Expand Down
3 changes: 3 additions & 0 deletions ipa.tf
Original file line number Diff line number Diff line change
Expand Up @@ -1338,6 +1338,7 @@ metadata:
annotations:
avp.kubernetes.io/path: tools/argo/data/ipa-deploy
argocd.argoproj.io/sync-wave: "2"
argocd.argoproj.io/compare-options: ServerSideDiff=true
spec:
destination:
server: ${module.cluster.kubernetes_host}
Expand Down Expand Up @@ -1430,6 +1431,7 @@ metadata:
annotations:
avp.kubernetes.io/path: tools/argo/data/ipa-deploy
argocd.argoproj.io/sync-wave: "-2"
argocd.argoproj.io/compare-options: ServerSideDiff=true
spec:
ignoreDifferences:
- group: apps
Expand Down Expand Up @@ -1615,6 +1617,7 @@ metadata:
- resources-finalizer.argocd.argoproj.io
annotations:
avp.kubernetes.io/path: ${each.value.vaultPath}
argocd.argoproj.io/compare-options: ServerSideDiff=true
labels:
app: ${each.value.name}
region: ${var.region}
Expand Down

0 comments on commit 0cb94a1

Please sign in to comment.