[kube-state-metrics] allow for namespaces flag to be passed as a list (#1070)

Signed-off-by: birca <birca@adobe.com>

Co-authored-by: birca <birca@adobe.com>
This commit is contained in:
Allex1
2021-06-18 17:16:41 +02:00
committed by GitHub
co-authored by birca
parent f24a709dc8
commit 9bd5d7a203
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ keywords:
- prometheus
- kubernetes
type: application
version: 3.2.1
version: 3.2.2
appVersion: 2.0.0
home: https://github.com/kubernetes/kube-state-metrics/
sources:
@@ -153,7 +153,7 @@ spec:
- --resources=volumeattachments
{{ end }}
{{ if .Values.namespaces }}
- --namespaces={{ tpl .Values.namespaces $ | join "," }}
- --namespaces={{ tpl (.Values.namespaces | join ",") $ }}
{{ end }}
{{ if .Values.autosharding.enabled }}
- --pod=$(POD_NAME)