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

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

Co-authored-by: birca <birca@adobe.com>
This commit is contained in:
Allex1
2021-06-24 00:09:33 +02:00
committed by GitHub
co-authored by birca
parent 41808ef222
commit bc1e52e8bf
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ keywords:
- prometheus
- kubernetes
type: application
version: 3.3.0
version: 3.3.1
appVersion: 2.0.0
home: https://github.com/kubernetes/kube-state-metrics/
sources:
@@ -84,7 +84,7 @@ spec:
- --metric-denylist={{ .Values.metricDenylist | join "," }}
{{- end }}
{{- if .Values.namespaces }}
- --namespaces={{ tpl .Values.namespaces $ | join "," }}
- --namespaces={{ tpl (.Values.namespaces | join ",") $ }}
{{- end }}
{{- if .Values.autosharding.enabled }}
- --pod=$(POD_NAME)