summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-01-15 21:18:47 +0200
committerPaul Buetow <paul@buetow.org>2026-01-15 21:18:47 +0200
commit1ce61eccb9d023e6ddb9e0d582ab2afacdf5e40a (patch)
treea991cf6c53b7ac4d5768867e5797497733c6739f
parent6af78382365a83ba1a5b3c786179fac6080bc179 (diff)
feat: add ignoreDifferences for Argo Rollouts to prevent ArgoCD conflicts
-rw-r--r--f3s/argocd-apps/services/tracing-demo.yaml12
1 files changed, 11 insertions, 1 deletions
diff --git a/f3s/argocd-apps/services/tracing-demo.yaml b/f3s/argocd-apps/services/tracing-demo.yaml
index c9283a6..dd43b01 100644
--- a/f3s/argocd-apps/services/tracing-demo.yaml
+++ b/f3s/argocd-apps/services/tracing-demo.yaml
@@ -20,7 +20,6 @@ spec:
selfHeal: true
syncOptions:
- CreateNamespace=false
- # Ignore old Deployment resources (using Rollout instead)
- RespectIgnoreDifferences=true
retry:
limit: 3
@@ -28,3 +27,14 @@ spec:
duration: 5s
factor: 2
maxDuration: 1m
+ ignoreDifferences:
+ # Let Argo Rollouts manage Rollout runtime state
+ - group: argoproj.io
+ kind: Rollout
+ jsonPointers:
+ # Ignore template env vars (kubectl patch adds env vars for triggering)
+ - /spec/template/spec/containers/0/env
+ - /spec/template/spec/containers/1/env
+ - /spec/template/spec/containers/2/env
+ # Ignore status fields (Argo Rollouts manages these)
+ - /status