* Replace all cluster roles with autogenerated namespaced roles * Use cluster role only for preupgrade api extension permissions * Correct role definition typos Signed-off-by: Sanket Sudake <sanketsudake@gmail.com> Co-authored-by: shaunak_deshmukh <shaunak@infracloud.io> Co-authored-by: Sanket Sudake <sanketsudake@gmail.com>
14 lines
691 B
YAML
14 lines
691 B
YAML
{{- include "kubernetes-role-generator" (merge (dict "namespace" .Values.defaultNamespace "component" "executor") .) }}
|
|
|
|
{{- if not .Values.singleDefaultNamespace }}
|
|
{{- range $namespace := $.Values.additionalFissionNamespaces }}
|
|
{{ include "kubernetes-role-generator" (merge (dict "namespace" $namespace "component" "executor") $) }}
|
|
{{- end }}
|
|
{{- if .Values.builderNamespace -}}
|
|
{{ include "kubernetes-role-generator" (merge (dict "namespace" .Values.builderNamespace "component" "executor") $) }}
|
|
{{- end }}
|
|
{{- if .Values.functionNamespace -}}
|
|
{{ include "kubernetes-role-generator" (merge (dict "namespace" .Values.functionNamespace "component" "executor") $) }}
|
|
{{- end }}
|
|
{{- end }}
|