Skip to content

Commit

Permalink
Merge pull request #1369 from lou-lan/fix/charts/create-role
Browse files Browse the repository at this point in the history
Fix create role
  • Loading branch information
k8s-ci-robot authored Jan 27, 2021
2 parents e974d90 + c88e538 commit 6b3f702
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 @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion charts/kube-state-metrics/templates/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -189,4 +190,3 @@ rules:
verbs: ["list", "watch"]
{{ end -}}
{{- end -}}
{{- end -}}

0 comments on commit 6b3f702

Please sign in to comment.