From ac5fde6ba4b3b92d3092439c0fc7204284933ce3 Mon Sep 17 00:00:00 2001 From: Mayne0213 Date: Thu, 25 Dec 2025 18:53:05 +0900 Subject: [PATCH] FIX(repo): simplify ignoreDiff for all StatefulSets - Simplify ignoreDifferences configuration - Reduce complexity --- falco/argocd/falco.yaml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/falco/argocd/falco.yaml b/falco/argocd/falco.yaml index a4ec1a5..28400f3 100644 --- a/falco/argocd/falco.yaml +++ b/falco/argocd/falco.yaml @@ -89,7 +89,7 @@ spec: syncPolicy: automated: prune: true - selfHeal: false # Disabled to prevent constant sync due to StatefulSet PVC retention policy + selfHeal: true allowEmpty: false syncOptions: @@ -107,19 +107,12 @@ spec: factor: 2 maxDuration: 3m - # Ignore StatefulSet differences - # persistentVolumeClaimRetentionPolicy is set by Kubernetes automatically + # Ignore StatefulSet differences managed by Kubernetes ignoreDifferences: - group: apps kind: StatefulSet - name: falco-falcosidekick-ui-redis - jsonPointers: - - /spec/persistentVolumeClaimRetentionPolicy jqPathExpressions: - - .spec.persistentVolumeClaimRetentionPolicy - - group: apps - kind: StatefulSet - managedFieldsManagers: - - kube-controller-manager + - '.spec.persistentVolumeClaimRetentionPolicy' + - '.spec.volumeClaimTemplates[]?.metadata.creationTimestamp' revisionHistoryLimit: 10