FIX(storage): improve ignoreDiff for StatefulSet PVC retention

- Improve ignoreDifferences configuration
- Handle PVC retention policy
This commit is contained in:
2025-12-25 18:18:30 +09:00
parent 18dac6b77f
commit c2b9175b8b

View File

@@ -106,14 +106,12 @@ spec:
factor: 2
maxDuration: 3m
# Ignore StatefulSet persistentVolumeClaimRetentionPolicy differences
# This field is set by Kubernetes but may differ from Helm chart expectations
# Ignore StatefulSet differences
# persistentVolumeClaimRetentionPolicy is set by Kubernetes automatically
ignoreDifferences:
- group: apps
kind: StatefulSet
name: falco-falcosidekick-ui-redis
namespace: falco
jqPathExpressions:
- .spec.persistentVolumeClaimRetentionPolicy
jsonPointers:
- /spec/persistentVolumeClaimRetentionPolicy
revisionHistoryLimit: 10