From 2cbac101bf645bc7b4e35e85595165962fd1efd6 Mon Sep 17 00:00:00 2001 From: Heiko Nickerl Date: Mon, 15 Jun 2020 19:21:56 +0200 Subject: [PATCH] [stable/minio] Sanitize release namespace (#22756) (#22757) Signed-off-by: Heiko Nickerl --- stable/minio/Chart.yaml | 2 +- .../templates/post-install-prometheus-metrics-rolebinding.yaml | 2 +- stable/minio/templates/servicemonitor.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/stable/minio/Chart.yaml b/stable/minio/Chart.yaml index f6fac937ba..b441873f2c 100755 --- a/stable/minio/Chart.yaml +++ b/stable/minio/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 description: MinIO is a high performance data infrastructure for machine learning, analytics and application data workloads. name: minio -version: 5.0.27 +version: 5.0.28 appVersion: master keywords: - storage diff --git a/stable/minio/templates/post-install-prometheus-metrics-rolebinding.yaml b/stable/minio/templates/post-install-prometheus-metrics-rolebinding.yaml index d1b040ee2e..7d0ea75b75 100644 --- a/stable/minio/templates/post-install-prometheus-metrics-rolebinding.yaml +++ b/stable/minio/templates/post-install-prometheus-metrics-rolebinding.yaml @@ -16,5 +16,5 @@ roleRef: subjects: - kind: ServiceAccount name: {{ $fullName }}-update-prometheus-secret - namespace: {{ .Release.Namespace }} + namespace: {{ .Release.Namespace | quote }} {{- end -}} \ No newline at end of file diff --git a/stable/minio/templates/servicemonitor.yaml b/stable/minio/templates/servicemonitor.yaml index 9884c01982..2625de0252 100644 --- a/stable/minio/templates/servicemonitor.yaml +++ b/stable/minio/templates/servicemonitor.yaml @@ -33,7 +33,7 @@ spec: key: token namespaceSelector: matchNames: - - {{ .Release.Namespace }} + - {{ .Release.Namespace | quote }} selector: matchLabels: app: {{ include "minio.name" . }}