From 5e0b4e62c01ba1109b6627de07f461ecfca0b195 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 0ebb7e9..00d3f09 100644 --- a/submariner-operator/templates/rbac.yaml +++ b/submariner-operator/templates/rbac.yaml @@ -887,21 +887,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