From afd8b1b2bdbfc6262168ce938d521d34444fc8d9 Mon Sep 17 00:00:00 2001 From: Dimitar Georgievski Date: Mon, 17 Jul 2023 16:55:47 +0000 Subject: [PATCH] docs: Correct example ClusterRole to allow Events in any namespace (#14544) Fixes: #14477 Signed-off-by: Dimitar Georgievski --- .../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: