From 09f012500f5a59678400157704b147f45190642a Mon Sep 17 00:00:00 2001 From: Aditya Menon Date: Mon, 5 Jul 2021 14:32:11 +0200 Subject: [PATCH] Match upstream manifest definition Follow the same pattern on argo-rollouts repo Signed-off-by: Aditya Menon --- .../templates/argo-rollouts-clusterrole.yaml | 11 ++--------- .../argo-rollouts/templates/argo-rollouts-role.yaml | 11 ++--------- 2 files changed, 4 insertions(+), 18 deletions(-) diff --git a/charts/argo-rollouts/templates/argo-rollouts-clusterrole.yaml b/charts/argo-rollouts/templates/argo-rollouts-clusterrole.yaml index c142c7dc..c1ef0585 100644 --- a/charts/argo-rollouts/templates/argo-rollouts-clusterrole.yaml +++ b/charts/argo-rollouts/templates/argo-rollouts-clusterrole.yaml @@ -76,19 +76,12 @@ rules: - list - watch - patch -# secret read access to run analysis templates which reference secrets +# secret read access to run analysis templates which reference secrets +# configmap access to read notification-engine configuration - apiGroups: - "" resources: - secrets - verbs: - - get - - list - - watch -# configmap read access to support notification-engine -- apiGroups: - - "" - resources: - configmaps verbs: - get diff --git a/charts/argo-rollouts/templates/argo-rollouts-role.yaml b/charts/argo-rollouts/templates/argo-rollouts-role.yaml index 785c6c31..87d86326 100644 --- a/charts/argo-rollouts/templates/argo-rollouts-role.yaml +++ b/charts/argo-rollouts/templates/argo-rollouts-role.yaml @@ -66,19 +66,12 @@ rules: - list - watch - patch -# secret read access to run analysis templates which reference secrets +# secret read access to run analysis templates which reference secrets +# configmap access to read notification-engine configuration - apiGroups: - "" resources: - secrets - verbs: - - get - - list - - watch -# configmap read access to support notification-engine -- apiGroups: - - "" - resources: - configmaps verbs: - get