From 1d59304c9110f95b46d779547e3558ff51da987e Mon Sep 17 00:00:00 2001 From: Vlad Losev Date: Tue, 23 Feb 2021 17:08:49 -0800 Subject: [PATCH] fix(argo): Restore cluster template role binding to be ClusterRoleBinding. Signed-off-by: Vlad Losev --- charts/argo/templates/workflow-controller-crb.yaml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/charts/argo/templates/workflow-controller-crb.yaml b/charts/argo/templates/workflow-controller-crb.yaml index 5e171155..66cca4d0 100644 --- a/charts/argo/templates/workflow-controller-crb.yaml +++ b/charts/argo/templates/workflow-controller-crb.yaml @@ -31,20 +31,12 @@ subjects: {{- end }} --- apiVersion: rbac.authorization.k8s.io/v1 -{{- if .Values.singleNamespace }} -kind: RoleBinding -{{ else }} kind: ClusterRoleBinding -{{- end }} metadata: name: {{ .Release.Name }}-{{ .Values.controller.name }}-cluster-template roleRef: apiGroup: rbac.authorization.k8s.io - {{- if .Values.singleNamespace }} - kind: Role - {{ else }} kind: ClusterRole - {{- end }} name: {{ .Release.Name }}-{{ .Values.controller.name }}-cluster-template subjects: - kind: ServiceAccount