From 6fc0c2dbed0c9ea8c56532eda1b07f251cdb5328 Mon Sep 17 00:00:00 2001 From: Andrew Suderman Date: Wed, 26 Feb 2020 13:48:14 -0700 Subject: [PATCH] Updating clusterrole to include cronworkflow crd --- .../workflow-controller-clusterrole.yaml | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/charts/argo/templates/workflow-controller-clusterrole.yaml b/charts/argo/templates/workflow-controller-clusterrole.yaml index 57013987..52c95ee4 100644 --- a/charts/argo/templates/workflow-controller-clusterrole.yaml +++ b/charts/argo/templates/workflow-controller-clusterrole.yaml @@ -43,6 +43,7 @@ rules: - update - patch - delete + - create - apiGroups: - argoproj.io resources: @@ -59,4 +60,21 @@ rules: verbs: - get - list - +- apiGroups: + - argoproj.io + resources: + - cronworkflows + - cronworkflows/finalizers + verbs: + - get + - list + - watch + - update + - patch + - delete +- apiGroups: + - "" + resources: + - events + verbs: + - create