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
|
- PruneLast=true
|
||||||
- ServerSideApply=true
|
- ServerSideApply=true
|
||||||
- RespectIgnoreDifferences=true
|
- RespectIgnoreDifferences=true
|
||||||
|
- ApplyOutOfSyncOnly=true
|
||||||
|
|
||||||
retry:
|
retry:
|
||||||
limit: 5
|
limit: 5
|
||||||
@@ -111,7 +112,14 @@ spec:
|
|||||||
ignoreDifferences:
|
ignoreDifferences:
|
||||||
- group: apps
|
- group: apps
|
||||||
kind: StatefulSet
|
kind: StatefulSet
|
||||||
|
name: falco-falcosidekick-ui-redis
|
||||||
jsonPointers:
|
jsonPointers:
|
||||||
- /spec/persistentVolumeClaimRetentionPolicy
|
- /spec/persistentVolumeClaimRetentionPolicy
|
||||||
|
jqPathExpressions:
|
||||||
|
- .spec.persistentVolumeClaimRetentionPolicy
|
||||||
|
- group: apps
|
||||||
|
kind: StatefulSet
|
||||||
|
managedFieldsManagers:
|
||||||
|
- kube-controller-manager
|
||||||
|
|
||||||
revisionHistoryLimit: 10
|
revisionHistoryLimit: 10
|
||||||
|
|||||||
Reference in New Issue
Block a user