From 5f767beb756fac92c67adebe9f1d4a1e26b86898 Mon Sep 17 00:00:00 2001 From: Vlad Losev Date: Fri, 15 May 2020 13:34:57 -0700 Subject: [PATCH] Chages role binding name to force re-creation. --- charts/argo/templates/server-crb.yaml | 4 ++-- charts/argo/templates/workflow-controller-crb.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/argo/templates/server-crb.yaml b/charts/argo/templates/server-crb.yaml index fc76740f..339aefa5 100644 --- a/charts/argo/templates/server-crb.yaml +++ b/charts/argo/templates/server-crb.yaml @@ -3,7 +3,7 @@ apiVersion: rbac.authorization.k8s.io/v1 {{- if .Values.singleNamespace }} kind: RoleBinding metadata: - name: {{ .Release.Name }}-{{ .Values.server.name}}-rb + name: {{ .Release.Name }}-{{ .Values.server.name}}-role-binding {{ else }} kind: ClusterRoleBinding metadata: @@ -23,7 +23,7 @@ subjects: apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: - name: {{ .Release.Name }}-{{ .Values.server.name}}-crb + name: {{ .Release.Name }}-{{ .Values.server.name}}-cluster-template-crb roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole diff --git a/charts/argo/templates/workflow-controller-crb.yaml b/charts/argo/templates/workflow-controller-crb.yaml index 80f0a102..4172de1f 100644 --- a/charts/argo/templates/workflow-controller-crb.yaml +++ b/charts/argo/templates/workflow-controller-crb.yaml @@ -5,7 +5,7 @@ kind: RoleBinding kind: ClusterRoleBinding {{- end }} metadata: - name: {{ .Release.Name }}-{{ .Values.controller.name }}-binding + name: {{ .Release.Name }}-{{ .Values.controller.name }}-role-binding roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -31,7 +31,7 @@ subjects: apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: - name: {{ .Release.Name }}-{{ .Values.controller.name }}-cluster-template-binding + name: {{ .Release.Name }}-{{ .Values.controller.name }}-cluster-template-crb roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole