From 0cb94a12f9c3586ce4e5ff766b1d13d5e9b61bb1 Mon Sep 17 00:00:00 2001 From: Lucas Telles Date: Fri, 22 Nov 2024 14:47:20 -0300 Subject: [PATCH] Add ServerSideDiff annotation to argo application --- azure/ipa.tf | 3 +++ ipa.tf | 3 +++ 2 files changed, 6 insertions(+) diff --git a/azure/ipa.tf b/azure/ipa.tf index 05d720a2..d4888e72 100644 --- a/azure/ipa.tf +++ b/azure/ipa.tf @@ -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} @@ -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 @@ -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} diff --git a/ipa.tf b/ipa.tf index 7d80d2a0..6b884703 100644 --- a/ipa.tf +++ b/ipa.tf @@ -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} @@ -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 @@ -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}