diff --git a/charts/kube-state-metrics/Chart.yaml b/charts/kube-state-metrics/Chart.yaml index bb0ace1ec5..d626941ba5 100644 --- a/charts/kube-state-metrics/Chart.yaml +++ b/charts/kube-state-metrics/Chart.yaml @@ -6,7 +6,7 @@ keywords: - monitoring - prometheus - kubernetes -version: 2.10.0 +version: 2.10.1 appVersion: 1.9.7 home: https://github.com/kubernetes/kube-state-metrics/ sources: diff --git a/charts/kube-state-metrics/templates/role.yaml b/charts/kube-state-metrics/templates/role.yaml index f1c2b79681..6259d2f617 100644 --- a/charts/kube-state-metrics/templates/role.yaml +++ b/charts/kube-state-metrics/templates/role.yaml @@ -2,6 +2,7 @@ {{- if eq .Values.rbac.useClusterRole false }} {{- range (split "," $.Values.namespace) }} {{- end }} +{{- end -}} --- apiVersion: rbac.authorization.k8s.io/v1 {{- if eq .Values.rbac.useClusterRole false }} @@ -189,4 +190,3 @@ rules: verbs: ["list", "watch"] {{ end -}} {{- end -}} -{{- end -}}