From 556011dd4d764eb8c11a8d41eb9526e67e6c186e Mon Sep 17 00:00:00 2001 From: Vlad Losev Date: Wed, 24 Feb 2021 08:36:16 -0800 Subject: [PATCH] fix(argo): Restore cluster template role binding to be ClusterRoleBinding. (#593) Signed-off-by: Vlad Losev --- charts/argo/Chart.yaml | 2 +- charts/argo/templates/workflow-controller-crb.yaml | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/charts/argo/Chart.yaml b/charts/argo/Chart.yaml index 2353232f..0fe8f038 100644 --- a/charts/argo/Chart.yaml +++ b/charts/argo/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: v2.12.5 description: A Helm chart for Argo Workflows name: argo -version: 0.16.2 +version: 0.16.3 icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png home: https://github.com/argoproj/argo-helm maintainers: 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