Update yamls for prom stack
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: kube-prometheus-stack
|
||||
@@ -6,7 +6,7 @@ spec:
|
||||
interval: 1h
|
||||
chart:
|
||||
spec:
|
||||
version: "48.x"
|
||||
version: "55.x"
|
||||
chart: kube-prometheus-stack
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
@@ -16,6 +16,13 @@ spec:
|
||||
crds: Create
|
||||
upgrade:
|
||||
crds: CreateReplace
|
||||
driftDetection:
|
||||
mode: enabled
|
||||
ignore:
|
||||
# Ignore "validated" annotation which is not inserted during install
|
||||
- paths: [ "/metadata/annotations/prometheus-operator-validated" ]
|
||||
target:
|
||||
kind: PrometheusRule
|
||||
valuesFrom:
|
||||
- kind: ConfigMap
|
||||
name: flux-kube-state-metrics-config
|
||||
@@ -37,22 +44,4 @@ spec:
|
||||
app.kubernetes.io/component: monitoring
|
||||
grafana:
|
||||
defaultDashboardsEnabled: false
|
||||
adminPassword: flux
|
||||
postRenderers:
|
||||
- kustomize:
|
||||
patches:
|
||||
- target:
|
||||
# Ignore these objects from Flux diff as they are mutated from chart hooks
|
||||
kind: (ValidatingWebhookConfiguration|MutatingWebhookConfiguration)
|
||||
name: kube-prometheus-stack-admission
|
||||
patch: |
|
||||
- op: add
|
||||
path: /metadata/annotations/helm.toolkit.fluxcd.io~1driftDetection
|
||||
value: disabled
|
||||
- target:
|
||||
# Ignore these objects from Flux diff as they are mutated at apply time but not at dry-run time
|
||||
kind: PrometheusRule
|
||||
patch: |
|
||||
- op: add
|
||||
path: /metadata/annotations/helm.toolkit.fluxcd.io~1driftDetection
|
||||
value: disabled
|
||||
adminPassword: flux
|
||||
Reference in New Issue
Block a user