From 92e05bea0bf6e57e28d3e92d5daa509901b398ce Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Tue, 27 Oct 2020 17:47:00 +0000 Subject: [PATCH] Prometheus rename fix --- deploy/templates/values.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy/templates/values.yaml b/deploy/templates/values.yaml index bd9c718..074e876 100644 --- a/deploy/templates/values.yaml +++ b/deploy/templates/values.yaml @@ -124,9 +124,9 @@ kubezero: {{- toYaml . | nindent 10 }} {{- end }} {{- end }} - {{- if index .Values "metrics" "prometheus-operator" }} - prometheus-operator: - {{- with index .Values "metrics" "prometheus-operator" }} + {{- if index .Values "metrics" "kube-prometheus-stack" }} + kube-prometheus-stack: + {{- with index .Values "metrics" "kube-prometheus-stack" }} {{- toYaml . | nindent 8 }} {{- end }} {{- end }}