From 8f0ff4349e0f55c4bead8b54fc30c27b27673e25 Mon Sep 17 00:00:00 2001 From: Mark Robinson Date: Tue, 25 May 2021 16:25:09 -0700 Subject: [PATCH] Update cluster role to match upstream Argo Signed-off-by: Mark Robinson --- .../templates/argo-rollouts-clusterrole.yaml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/charts/argo-rollouts/templates/argo-rollouts-clusterrole.yaml b/charts/argo-rollouts/templates/argo-rollouts-clusterrole.yaml index c3fb9f0c..e65b4412 100644 --- a/charts/argo-rollouts/templates/argo-rollouts-clusterrole.yaml +++ b/charts/argo-rollouts/templates/argo-rollouts-clusterrole.yaml @@ -57,6 +57,16 @@ rules: - update - patch - delete +- apiGroups: + - "" + - apps + resources: + - deployments + - podtemplates + verbs: + - get + - list + - watch # services patch needed to update selector of canary/stable/active/preview services - apiGroups: - "" @@ -136,6 +146,7 @@ rules: - get - update - list + - patch # trafficsplit access needed for using the SMI provider - apiGroups: - split.smi-spec.io @@ -147,4 +158,15 @@ rules: - get - update - patch +- apiGroups: + - getambassador.io + resources: + - mappings + verbs: + - create + - watch + - get + - update + - list + - delete {{- end }}