fix: resolve argo-rollouts CRD OutOfSync with ignoreDifferences
Add ignoreDifferences for CRDs (metadata labels/annotations drift caused by ServerSideApply field managers) and RespectIgnoreDifferences sync option. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
ac380824c1
commit
4dd21b1e99
@ -27,6 +27,13 @@ spec:
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: argo-rollouts
|
||||
ignoreDifferences:
|
||||
- group: apiextensions.k8s.io
|
||||
kind: CustomResourceDefinition
|
||||
jsonPointers:
|
||||
- /metadata/labels
|
||||
- /metadata/annotations
|
||||
- /spec/names/shortNames
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
@ -34,3 +41,4 @@ spec:
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- ServerSideApply=true
|
||||
- RespectIgnoreDifferences=true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user