FIX(repo): simplify ignoreDiff for all StatefulSets

- Simplify ignoreDifferences configuration
- Reduce complexity
This commit is contained in:
2025-12-25 18:53:05 +09:00
parent 70eb551871
commit ac5fde6ba4

View File

@@ -89,7 +89,7 @@ spec:
syncPolicy: syncPolicy:
automated: automated:
prune: true prune: true
selfHeal: false # Disabled to prevent constant sync due to StatefulSet PVC retention policy selfHeal: true
allowEmpty: false allowEmpty: false
syncOptions: syncOptions:
@@ -107,19 +107,12 @@ spec:
factor: 2 factor: 2
maxDuration: 3m maxDuration: 3m
# Ignore StatefulSet differences # Ignore StatefulSet differences managed by Kubernetes
# persistentVolumeClaimRetentionPolicy is set by Kubernetes automatically
ignoreDifferences: ignoreDifferences:
- group: apps - group: apps
kind: StatefulSet kind: StatefulSet
name: falco-falcosidekick-ui-redis
jsonPointers:
- /spec/persistentVolumeClaimRetentionPolicy
jqPathExpressions: jqPathExpressions:
- .spec.persistentVolumeClaimRetentionPolicy - '.spec.persistentVolumeClaimRetentionPolicy'
- group: apps - '.spec.volumeClaimTemplates[]?.metadata.creationTimestamp'
kind: StatefulSet
managedFieldsManagers:
- kube-controller-manager
revisionHistoryLimit: 10 revisionHistoryLimit: 10