From ebd39089304d87b9da52f7bf44d96ca0acb425e6 Mon Sep 17 00:00:00 2001 From: Michael Merrill Date: Wed, 22 Jul 2020 19:19:39 -0400 Subject: [PATCH] [prometheus-operator] Fixing scope issue (#23014) (#23022) Signed-off-by: mmerrill3 --- stable/prometheus-operator/Chart.yaml | 2 +- .../templates/grafana/configmap-dashboards.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stable/prometheus-operator/Chart.yaml b/stable/prometheus-operator/Chart.yaml index 3d81c14933..6d6e081bce 100644 --- a/stable/prometheus-operator/Chart.yaml +++ b/stable/prometheus-operator/Chart.yaml @@ -12,7 +12,7 @@ sources: - https://github.com/coreos/kube-prometheus - https://github.com/coreos/prometheus-operator - https://coreos.com/operators/prometheus -version: 9.2.0 +version: 9.2.1 appVersion: 0.38.1 tillerVersion: ">=2.12.0" home: https://github.com/coreos/prometheus-operator diff --git a/stable/prometheus-operator/templates/grafana/configmap-dashboards.yaml b/stable/prometheus-operator/templates/grafana/configmap-dashboards.yaml index 7fb8efa854..c4d4cb93d9 100644 --- a/stable/prometheus-operator/templates/grafana/configmap-dashboards.yaml +++ b/stable/prometheus-operator/templates/grafana/configmap-dashboards.yaml @@ -10,7 +10,7 @@ items: kind: ConfigMap metadata: name: {{ printf "%s-%s" (include "prometheus-operator.fullname" $) $dashboardName | trunc 63 | trimSuffix "-" }} - namespace: {{ template "prometheus-operator.namespace" . }} + namespace: {{ template "prometheus-operator.namespace" $ }} labels: {{- if $.Values.grafana.sidecar.dashboards.label }} {{ $.Values.grafana.sidecar.dashboards.label }}: "1"