fix: ArgoCD no sobreescribe zona-exclusion-secrets
Añade ignoreDifferences para /data del Secret y RespectIgnoreDifferences=true para que el sync no aplique el recurso cuando la única diferencia es en los datos del secret. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -12,9 +12,17 @@ spec:
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: zona-exclusion
|
||||
ignoreDifferences:
|
||||
- group: ""
|
||||
kind: Secret
|
||||
name: zona-exclusion-secrets
|
||||
namespace: zona-exclusion
|
||||
jsonPointers:
|
||||
- /data
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- RespectIgnoreDifferences=true
|
||||
|
||||
Reference in New Issue
Block a user