diff --git a/charts/argo/templates/server-crb.yaml b/charts/argo/templates/server-crb.yaml index 339aefa5..a448407a 100644 --- a/charts/argo/templates/server-crb.yaml +++ b/charts/argo/templates/server-crb.yaml @@ -16,9 +16,7 @@ roleRef: subjects: - kind: ServiceAccount name: {{ .Values.server.serviceAccount }} - {{- if not .Values.singleNamespace }} namespace: {{ .Release.Namespace }} - {{- end }} --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding diff --git a/charts/argo/templates/workflow-controller-crb.yaml b/charts/argo/templates/workflow-controller-crb.yaml index 4172de1f..16c3b720 100644 --- a/charts/argo/templates/workflow-controller-crb.yaml +++ b/charts/argo/templates/workflow-controller-crb.yaml @@ -13,9 +13,7 @@ roleRef: subjects: - kind: ServiceAccount name: {{ .Values.controller.serviceAccount }} - {{- if not .Values.singleNamespace }} namespace: {{ .Release.Namespace }} - {{- end }} {{- if .Values.controller.workflowNamespaces }} {{- $uiServiceAccount := .Values.controller.serviceAccount }} {{- $namespace := .Release.Namespace }}