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
|
- repoURL: git@git.janis-eccarius.de:NowChess/GitOps.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
ref: values
|
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:
|
syncPolicy:
|
||||||
automated:
|
automated:
|
||||||
prune: true
|
prune: true
|
||||||
@@ -27,6 +43,7 @@ spec:
|
|||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- ServerSideApply=true
|
- ServerSideApply=true
|
||||||
|
- RespectIgnoreDifferences=true
|
||||||
retry:
|
retry:
|
||||||
limit: 3
|
limit: 3
|
||||||
backoff:
|
backoff:
|
||||||
|
|||||||
@@ -21,6 +21,17 @@ spec:
|
|||||||
- repoURL: git@git.janis-eccarius.de:NowChess/GitOps.git
|
- repoURL: git@git.janis-eccarius.de:NowChess/GitOps.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
ref: values
|
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:
|
syncPolicy:
|
||||||
automated:
|
automated:
|
||||||
prune: true
|
prune: true
|
||||||
@@ -29,6 +40,7 @@ spec:
|
|||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- ServerSideApply=true
|
- ServerSideApply=true
|
||||||
- SkipDryRunOnMissingResource=true
|
- SkipDryRunOnMissingResource=true
|
||||||
|
- RespectIgnoreDifferences=true
|
||||||
retry:
|
retry:
|
||||||
limit: 5
|
limit: 5
|
||||||
backoff:
|
backoff:
|
||||||
|
|||||||
Reference in New Issue
Block a user