From da482f6e2014dee9caa2e810266e05efcf2b7da1 Mon Sep 17 00:00:00 2001 From: Marius Voila Date: Fri, 11 Oct 2019 13:39:39 +0200 Subject: [PATCH] add missing $ to .Release.Namespace (#17889) this commit also fixes #17839 Signed-off-by: Marius Voila --- stable/prometheus-operator/Chart.yaml | 2 +- .../templates/prometheus/additionalPrometheusRules.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stable/prometheus-operator/Chart.yaml b/stable/prometheus-operator/Chart.yaml index 67cf1472bd..1c3d6c2ce2 100644 --- a/stable/prometheus-operator/Chart.yaml +++ b/stable/prometheus-operator/Chart.yaml @@ -10,7 +10,7 @@ name: prometheus-operator sources: - https://github.com/coreos/prometheus-operator - https://coreos.com/operators/prometheus -version: 6.16.1 +version: 6.16.2 appVersion: 0.32.0 home: https://github.com/coreos/prometheus-operator keywords: diff --git a/stable/prometheus-operator/templates/prometheus/additionalPrometheusRules.yaml b/stable/prometheus-operator/templates/prometheus/additionalPrometheusRules.yaml index 1bf45d7798..8f61a45882 100644 --- a/stable/prometheus-operator/templates/prometheus/additionalPrometheusRules.yaml +++ b/stable/prometheus-operator/templates/prometheus/additionalPrometheusRules.yaml @@ -25,7 +25,7 @@ items: kind: PrometheusRule metadata: name: {{ template "prometheus-operator.name" $ }}-{{ .name }} - namespace: {{ .Release.Namespace }} + namespace: {{ $.Release.Namespace }} labels: app: {{ template "prometheus-operator.name" $ }} {{ include "prometheus-operator.labels" $ | indent 8 }}