From 7520905ce09cf84e8062a356eed13f64113f46a3 Mon Sep 17 00:00:00 2001 From: "gcp-cherry-pick-bot[bot]" <98988430+gcp-cherry-pick-bot[bot]@users.noreply.github.com> Date: Mon, 17 Jul 2023 12:56:44 -0400 Subject: [PATCH] docs: Correct example ClusterRole to allow Events in any namespace (#14544) (#14551) Fixes: #14477 Signed-off-by: Dimitar Georgievski Co-authored-by: Dimitar Georgievski Signed-off-by: schakrad <58915923+schakrad@users.noreply.github.com> --- .../argocd-server-rbac-clusterrole.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/examples/k8s-rbac/argocd-server-applications/argocd-server-rbac-clusterrole.yaml b/examples/k8s-rbac/argocd-server-applications/argocd-server-rbac-clusterrole.yaml index 20e93dbada6d2..a8d6c021c4e2e 100644 --- a/examples/k8s-rbac/argocd-server-applications/argocd-server-rbac-clusterrole.yaml +++ b/examples/k8s-rbac/argocd-server-applications/argocd-server-rbac-clusterrole.yaml @@ -7,6 +7,12 @@ metadata: app.kubernetes.io/component: server name: argocd-server-cluster-apps rules: +- apiGroups: + - "" + resources: + - events + verbs: + - create - apiGroups: - "argoproj.io" resources: