feat(victoria-metrics): add ignoreDifferences configuration for Secrets and WebhookConfigurations
This commit is contained in:
@@ -20,6 +20,22 @@ spec:
|
||||
- repoURL: git@git.janis-eccarius.de:NowChess/GitOps.git
|
||||
targetRevision: main
|
||||
ref: values
|
||||
ignoreDifferences:
|
||||
- group: ""
|
||||
kind: Secret
|
||||
name: victoria-metrics-operator-validation
|
||||
jsonPointers:
|
||||
- /data
|
||||
- group: admissionregistration.k8s.io
|
||||
kind: ValidatingWebhookConfiguration
|
||||
name: victoria-metrics-operator-admission
|
||||
jqPathExpressions:
|
||||
- .webhooks[].clientConfig.caBundle
|
||||
- group: admissionregistration.k8s.io
|
||||
kind: MutatingWebhookConfiguration
|
||||
name: victoria-metrics-operator-admission
|
||||
jqPathExpressions:
|
||||
- .webhooks[].clientConfig.caBundle
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
@@ -27,6 +43,7 @@ spec:
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- ServerSideApply=true
|
||||
- RespectIgnoreDifferences=true
|
||||
retry:
|
||||
limit: 3
|
||||
backoff:
|
||||
|
||||
@@ -21,6 +21,17 @@ spec:
|
||||
- repoURL: git@git.janis-eccarius.de:NowChess/GitOps.git
|
||||
targetRevision: main
|
||||
ref: values
|
||||
ignoreDifferences:
|
||||
- group: ""
|
||||
kind: Secret
|
||||
name: vm-grafana
|
||||
jsonPointers:
|
||||
- /data
|
||||
- group: apps
|
||||
kind: Deployment
|
||||
name: vm-grafana
|
||||
jqPathExpressions:
|
||||
- .spec.template.metadata.annotations."checksum/secret"
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
@@ -29,6 +40,7 @@ spec:
|
||||
- CreateNamespace=true
|
||||
- ServerSideApply=true
|
||||
- SkipDryRunOnMissingResource=true
|
||||
- RespectIgnoreDifferences=true
|
||||
retry:
|
||||
limit: 5
|
||||
backoff:
|
||||
|
||||
Reference in New Issue
Block a user