From cff6e76f983889dae0568581e8a85b87567c559a Mon Sep 17 00:00:00 2001 From: Sridhar Gaddam Date: Mon, 28 Jun 2021 21:05:15 +0530 Subject: [PATCH] Add roles to access new Globalnet 2.0 objects Signed-Off-by: Sridhar Gaddam --- submariner-operator/templates/rbac.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/submariner-operator/templates/rbac.yaml b/submariner-operator/templates/rbac.yaml index 670cdff..b083add 100644 --- a/submariner-operator/templates/rbac.yaml +++ b/submariner-operator/templates/rbac.yaml @@ -359,6 +359,29 @@ rules: - patch - update - watch + - apiGroups: + - submariner.io + resources: + - clusterglobalegressips + - globalegressips + verbs: + - create + - get + - list + - watch + - update + - apiGroups: + - submariner.io + resources: + - globalingressips + verbs: + - create + - get + - list + - watch + - update + - delete + - deletecollection --- apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding