mirror of
https://github.com/wahyd4/helm-charts.git
synced 2026-08-09 04:26:02 +10:00
[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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user