update ignore differences
This commit is contained in:
@@ -52,4 +52,5 @@ spec:
|
|||||||
- ApplyOutOfSyncOnly={{ $stack.syncPolicy.syncOptions.applyOutOfSyncOnly | default true }}
|
- ApplyOutOfSyncOnly={{ $stack.syncPolicy.syncOptions.applyOutOfSyncOnly | default true }}
|
||||||
- ServerSideApply={{ $stack.syncPolicy.syncOptions.serverSideApply | default true }}
|
- ServerSideApply={{ $stack.syncPolicy.syncOptions.serverSideApply | default true }}
|
||||||
- PruneLast={{ $stack.syncPolicy.syncOptions.pruneLast | default true }}
|
- PruneLast={{ $stack.syncPolicy.syncOptions.pruneLast | default true }}
|
||||||
|
- RespectIgnoreDifferences={{ $stack.syncPolicy.syncOptions.respectIgnoreDifferences | default true }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@@ -18,11 +18,11 @@ spec:
|
|||||||
name: in-cluster
|
name: in-cluster
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
revisionHistoryLimit: 3
|
revisionHistoryLimit: 3
|
||||||
# ignoreDifferences:
|
ignoreDifferences:
|
||||||
# - group: ""
|
- group: ""
|
||||||
# kind: ServiceMonitor
|
kind: ServiceMonitor
|
||||||
# jqPathExpressions:
|
jqPathExpressions:
|
||||||
# - .spec.endpoints[].relabelings[].action
|
- .spec.endpoints[].relabelings[].action
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
automated:
|
automated:
|
||||||
prune: true
|
prune: true
|
||||||
@@ -38,6 +38,7 @@ spec:
|
|||||||
- ApplyOutOfSyncOnly=true
|
- ApplyOutOfSyncOnly=true
|
||||||
- ServerSideApply=true
|
- ServerSideApply=true
|
||||||
- PruneLast=true
|
- PruneLast=true
|
||||||
|
- RespectIgnoreDifferences=true
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: argoproj.io/v1alpha1
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
@@ -18,7 +18,6 @@ applicationSet:
|
|||||||
prune: true
|
prune: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
serverSideApply: true
|
serverSideApply: true
|
||||||
RespectIgnoreDifferences: true
|
|
||||||
- name: deployment
|
- name: deployment
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
@@ -54,26 +53,33 @@ applicationSet:
|
|||||||
kind: Service
|
kind: Service
|
||||||
jqPathExpressions:
|
jqPathExpressions:
|
||||||
- .spec.externalName
|
- .spec.externalName
|
||||||
# - kind: StatefulSet
|
- kind: StatefulSet
|
||||||
# jqPathExpressions:
|
jqPathExpressions:
|
||||||
# - .spec.volumeClaimTemplates[].apiVersion
|
- .spec.volumeClaimTemplates[].apiVersion
|
||||||
# - .spec.volumeClaimTemplates[].kind
|
- .spec.volumeClaimTemplates[].kind
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
automated:
|
automated:
|
||||||
prune: true
|
prune: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
serverSideApply: true
|
serverSideApply: true
|
||||||
RespectIgnoreDifferences: true
|
|
||||||
- name: services
|
- name: services
|
||||||
ignoreDifferences:
|
ignoreDifferences:
|
||||||
- group: ""
|
- group: ""
|
||||||
kind: GpuDevicePlugin
|
kind: GpuDevicePlugin
|
||||||
jqPathExpressions:
|
jqPathExpressions:
|
||||||
- .metadata.annotations[]
|
- .metadata.annotations[]
|
||||||
# - kind: StatefulSet
|
- group: "apps"
|
||||||
# jqPathExpressions:
|
kind: "Deployment"
|
||||||
# - .spec.volumeClaimTemplates[].apiVersion
|
jsonPointers:
|
||||||
# - .spec.volumeClaimTemplates[].kind
|
- /spec/template/metadata/annotations/checksum~1secret
|
||||||
|
- /spec/template/metadata/annotations/checksum~1secret-core
|
||||||
|
- /spec/template/metadata/annotations/checksum~1secret-jobservice
|
||||||
|
- /spec/template/metadata/annotations/checksum~1tls
|
||||||
|
- group: "apps"
|
||||||
|
kind: "StatefulSet"
|
||||||
|
jsonPointers:
|
||||||
|
- /spec/template/metadata/annotations/checksum~1secret
|
||||||
|
- /spec/template/metadata/annotations/checksum~1tls
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
automated:
|
automated:
|
||||||
prune: true
|
prune: true
|
||||||
@@ -85,4 +91,3 @@ applicationSet:
|
|||||||
prune: true
|
prune: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
serverSideApply: true
|
serverSideApply: true
|
||||||
RespectIgnoreDifferences: true
|
|
||||||
|
Reference in New Issue
Block a user