From 454e9be6def9eede82230cad17372ea32db0c66e Mon Sep 17 00:00:00 2001 From: Tom Pantelis Date: Thu, 2 Jan 2025 09:17:54 -0500 Subject: [PATCH] Add submariner-operator RBAC create permission for events Signed-off-by: Tom Pantelis --- config/rbac/submariner-operator/role.yaml | 6 ++++++ pkg/embeddedyamls/yamls.go | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/config/rbac/submariner-operator/role.yaml b/config/rbac/submariner-operator/role.yaml index cca136ddf..95a3dfe77 100644 --- a/config/rbac/submariner-operator/role.yaml +++ b/config/rbac/submariner-operator/role.yaml @@ -104,3 +104,9 @@ rules: - create - update - delete + - apiGroups: + - "" + resources: + - events + verbs: + - create diff --git a/pkg/embeddedyamls/yamls.go b/pkg/embeddedyamls/yamls.go index 260fd12ac..f3320c307 100644 --- a/pkg/embeddedyamls/yamls.go +++ b/pkg/embeddedyamls/yamls.go @@ -2819,6 +2819,12 @@ rules: - create - update - delete + - apiGroups: + - "" + resources: + - events + verbs: + - create ` Config_rbac_submariner_operator_role_binding_yaml = `--- kind: RoleBinding