add additional field ignore

This commit is contained in:
2024-07-07 16:13:55 -05:00
parent aac2cc8099
commit 8fb4224980
2 changed files with 16 additions and 0 deletions

View File

@@ -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

View File

@@ -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