[kube-state-metrics] Allow templating inside .Values.namespace (#904)

Signed-off-by: Jan-Otto Kröpke <joe@adorsys.de>
This commit is contained in:
Jan-Otto Kröpke
2021-05-07 12:18:16 +02:00
committed by GitHub
parent 814b7a68f9
commit d6ae19c6bb
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ keywords:
- prometheus
- kubernetes
type: application
version: 3.0.1
version: 3.0.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={{ .Values.namespaces | join "," }}
- --namespaces={{ tpl .Values.namespaces $ | join "," }}
{{ end }}
{{ if .Values.autosharding.enabled }}
- --pod=$(POD_NAME)