FIX(storage): improve ignoreDiff for StatefulSet PVC retention
- Improve ignoreDifferences configuration - Handle PVC retention policy
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user