add missing $ to .Release.Namespace (#17889)

this commit also fixes #17839

Signed-off-by: Marius Voila <myself@mariusv.com>
This commit is contained in:
Marius Voila
2019-10-11 04:39:39 -07:00
committed by Kubernetes Prow Robot
parent 218f75a1aa
commit da482f6e20
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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:
@@ -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 }}