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
|
||||
|
Reference in New Issue
Block a user