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