mirror of https://git.rancher.io/charts
10 lines
404 B
Diff
10 lines
404 B
Diff
|
--- charts-original/templates/role.yaml
|
||
|
+++ charts/templates/role.yaml
|
||
|
@@ -1,3 +1,6 @@
|
||
|
+{{- if not (kindIs "slice" .Values.collectors) }}
|
||
|
+{{- fail "Collectors need to be a List since kube-state-metrics chart 3.2.2. Please check README for more information."}}
|
||
|
+{{- end }}
|
||
|
{{- if and (eq .Values.rbac.create true) (not .Values.rbac.useExistingRole) -}}
|
||
|
{{- range (split "," .Values.namespaces) }}
|
||
|
---
|