address issues with argocd out of sync

This commit is contained in:
2024-07-01 18:28:37 -05:00
parent 4af47e70af
commit 534ee414ff
5 changed files with 35 additions and 4 deletions

View File

@@ -15,6 +15,11 @@ spec:
name: in-cluster
namespace: kube-system
revisionHistoryLimit: 3
ignoreDifferences:
- group: ""
kind: ServiceMonitor
jqPathExpressions:
- .spec.endpoints[].relabelings[].action
syncPolicy:
automated:
prune: true

View File

@@ -11,6 +11,11 @@ applicationSet:
syncOptions:
serverSideApply: true
- name: deployment
ignoreDifferences:
- group: ""
kind: ValidatingWebhookConfiguration
jqPathExpressions:
- .webhooks[].clientConfig.caBundle
namespace: argocd
syncPolicy:
automated:
@@ -18,6 +23,11 @@ applicationSet:
syncOptions:
serverSideApply: true
- name: management
ignoreDifferences:
- group: ""
kind: ValidatingWebhookConfiguration
jqPathExpressions:
- .webhooks[].clientConfig.caBundle
syncPolicy:
automated:
prune: true
@@ -28,8 +38,13 @@ applicationSet:
automated:
prune: true
syncOptions:
serverSideApply: true
serverSideApply: true
- name: platform
ignoreDifferences:
- group: ""
kind: ValidatingWebhookConfiguration
jqPathExpressions:
- .webhooks[].clientConfig.caBundle
syncPolicy:
automated:
prune: true
@@ -41,12 +56,25 @@ applicationSet:
kind: Service
jqPathExpressions:
- .status.loadBalancer.ingress[].ipMode
- group: ""
kind: ValidatingWebhookConfiguration
jqPathExpressions:
- .webhooks[].clientConfig.caBundle
- group: ""
kind: DaemonSet
jqPathExpressions:
- .metadata.annotations.deprecated.daemonset.template.generation
syncPolicy:
automated:
prune: true
syncOptions:
serverSideApply: true
- name: storage
ignoreDifferences:
- group: ""
kind: ValidatingWebhookConfiguration
jqPathExpressions:
- .webhooks[].clientConfig.caBundle
syncPolicy:
automated:
prune: true