FEAT(repo): enhance syncPolicy and ignoreDiff for StatefulSet
- Add enhanced sync policy - Configure ignoreDifferences for StatefulSet
This commit is contained in:
@@ -98,6 +98,7 @@ spec:
|
||||
- PruneLast=true
|
||||
- ServerSideApply=true
|
||||
- RespectIgnoreDifferences=true
|
||||
- ApplyOutOfSyncOnly=true
|
||||
|
||||
retry:
|
||||
limit: 5
|
||||
@@ -111,7 +112,14 @@ spec:
|
||||
ignoreDifferences:
|
||||
- group: apps
|
||||
kind: StatefulSet
|
||||
name: falco-falcosidekick-ui-redis
|
||||
jsonPointers:
|
||||
- /spec/persistentVolumeClaimRetentionPolicy
|
||||
jqPathExpressions:
|
||||
- .spec.persistentVolumeClaimRetentionPolicy
|
||||
- group: apps
|
||||
kind: StatefulSet
|
||||
managedFieldsManagers:
|
||||
- kube-controller-manager
|
||||
|
||||
revisionHistoryLimit: 10
|
||||
|
||||
Reference in New Issue
Block a user