mirror of
https://github.com/wahyd4/helm-charts.git
synced 2026-08-09 04:26:02 +10:00
[kube-state-metrics] Allow templating inside .Values.namespace (#904)
Signed-off-by: Jan-Otto Kröpke <joe@adorsys.de>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user