From 8fb42249800ed4f0377cb8a803a66f43254d6816 Mon Sep 17 00:00:00 2001 From: alexlebens Date: Sun, 7 Jul 2024 16:13:55 -0500 Subject: [PATCH] add additional field ignore --- .../deployment/stack/templates/application.yaml | 4 ++++ clusters/cl01tl/deployment/stack/values.yaml | 12 ++++++++++++ 2 files changed, 16 insertions(+) diff --git a/clusters/cl01tl/deployment/stack/templates/application.yaml b/clusters/cl01tl/deployment/stack/templates/application.yaml index f4ab636d0..0b62b27a2 100644 --- a/clusters/cl01tl/deployment/stack/templates/application.yaml +++ b/clusters/cl01tl/deployment/stack/templates/application.yaml @@ -20,6 +20,10 @@ spec: kind: ServiceMonitor jqPathExpressions: - .spec.endpoints[].relabelings[].action + - group: "" + kind: Pod + jqPathExpressions: + - .spec.template.spec.securityContext.appArmorProfile syncPolicy: automated: prune: true diff --git a/clusters/cl01tl/deployment/stack/values.yaml b/clusters/cl01tl/deployment/stack/values.yaml index ee57df167..b97c81989 100644 --- a/clusters/cl01tl/deployment/stack/values.yaml +++ b/clusters/cl01tl/deployment/stack/values.yaml @@ -52,11 +52,17 @@ applicationSet: kind: ValidatingWebhookConfiguration jqPathExpressions: - .webhooks[].clientConfig.caBundle + - kind: PersistentVolume + jsonPointers: + - /spec/claimRef/resourceVersion + - /spec/claimRef/uid + - /status/lastPhaseTransitionTime syncPolicy: automated: prune: true syncOptions: serverSideApply: true + RespectIgnoreDifferences: true - name: services ignoreDifferences: - group: "" @@ -82,8 +88,14 @@ applicationSet: kind: ValidatingWebhookConfiguration jqPathExpressions: - .webhooks[].clientConfig.caBundle + - kind: PersistentVolume + jsonPointers: + - /spec/claimRef/resourceVersion + - /spec/claimRef/uid + - /status/lastPhaseTransitionTime syncPolicy: automated: prune: true syncOptions: serverSideApply: true + RespectIgnoreDifferences: true