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
|
factor: 2
|
||||||
maxDuration: 3m
|
maxDuration: 3m
|
||||||
|
|
||||||
# Ignore StatefulSet persistentVolumeClaimRetentionPolicy differences
|
# Ignore StatefulSet differences
|
||||||
# This field is set by Kubernetes but may differ from Helm chart expectations
|
# persistentVolumeClaimRetentionPolicy is set by Kubernetes automatically
|
||||||
ignoreDifferences:
|
ignoreDifferences:
|
||||||
- group: apps
|
- group: apps
|
||||||
kind: StatefulSet
|
kind: StatefulSet
|
||||||
name: falco-falcosidekick-ui-redis
|
jsonPointers:
|
||||||
namespace: falco
|
- /spec/persistentVolumeClaimRetentionPolicy
|
||||||
jqPathExpressions:
|
|
||||||
- .spec.persistentVolumeClaimRetentionPolicy
|
|
||||||
|
|
||||||
revisionHistoryLimit: 10
|
revisionHistoryLimit: 10
|
||||||
|
|||||||
Reference in New Issue
Block a user