From f5a1bdad387e811418ce456abbd005600ace9ac0 Mon Sep 17 00:00:00 2001 From: Vlad Losev Date: Wed, 24 Feb 2021 10:35:16 -0800 Subject: [PATCH] Restores aggregated roles to be ClusterRoles. Signed-off-by: Vlad Losev --- charts/argo/templates/workflow-aggregate-roles.yaml | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/charts/argo/templates/workflow-aggregate-roles.yaml b/charts/argo/templates/workflow-aggregate-roles.yaml index 168dd862..fd0526ac 100644 --- a/charts/argo/templates/workflow-aggregate-roles.yaml +++ b/charts/argo/templates/workflow-aggregate-roles.yaml @@ -1,10 +1,5 @@ {{- if .Values.createAggregateRoles }} -apiVersion: rbac.authorization.k8s.io/v1 -{{- if .Values.singleNamespace }} -kind: Role -{{ else }} kind: ClusterRole -{{- end }} metadata: annotations: helm.sh/hook: pre-install @@ -30,11 +25,7 @@ rules: - watch --- apiVersion: rbac.authorization.k8s.io/v1 -{{- if .Values.singleNamespace }} -kind: Role -{{ else }} kind: ClusterRole -{{- end }} metadata: annotations: helm.sh/hook: pre-install @@ -65,11 +56,7 @@ rules: - watch --- apiVersion: rbac.authorization.k8s.io/v1 -{{- if .Values.singleNamespace }} -kind: Role -{{ else }} kind: ClusterRole -{{- end }} metadata: annotations: helm.sh/hook: pre-install