From c2b9175b8b9654ea8b9ec1cfe3d332abdd33ac99 Mon Sep 17 00:00:00 2001 From: Mayne0213 Date: Thu, 25 Dec 2025 18:18:30 +0900 Subject: [PATCH] FIX(storage): improve ignoreDiff for StatefulSet PVC retention - Improve ignoreDifferences configuration - Handle PVC retention policy --- falco/argocd/falco.yaml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/falco/argocd/falco.yaml b/falco/argocd/falco.yaml index d20447a..313258d 100644 --- a/falco/argocd/falco.yaml +++ b/falco/argocd/falco.yaml @@ -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