From e3d616f793194938eb1182f3539355014585018d Mon Sep 17 00:00:00 2001 From: Tom Pantelis Date: Sat, 18 Mar 2023 23:31:21 -0400 Subject: [PATCH] Add LH coredns permission to access Submariner resource Addresses https://github.com/submariner-io/lighthouse/issues/936#issuecomment-1416197295 Also removed the permissions for the obsolete lighthouse.submariner.io group. Signed-off-by: Tom Pantelis --- submariner-operator/templates/rbac.yaml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/submariner-operator/templates/rbac.yaml b/submariner-operator/templates/rbac.yaml index 4bf02bb..03e0348 100644 --- a/submariner-operator/templates/rbac.yaml +++ b/submariner-operator/templates/rbac.yaml @@ -879,21 +879,11 @@ rules: - update - delete - deletecollection - - apiGroups: - - lighthouse.submariner.io - resources: - - "*" - verbs: - - create - - get - - list - - watch - - update - - delete - apiGroups: - submariner.io resources: - "gateways" + - "submariners" verbs: - get - list