Skip to content

Commit

Permalink
[kube-state-metrics] allow for namespaces flag to be passed as a list (
Browse files Browse the repository at this point in the history
…prometheus-community#1070)

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

Co-authored-by: birca <birca@adobe.com>
  • Loading branch information
Allex1 and Allex1 authored Jun 18, 2021
1 parent f24a709 commit 9bd5d7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/kube-state-metrics/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion charts/kube-state-metrics/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9bd5d7a

Please sign in to comment.