From 6c093ebca25a4797cb81c96e83ca2589d62fd8cb Mon Sep 17 00:00:00 2001 From: Tom Pantelis Date: Wed, 29 May 2024 20:47:05 -0400 Subject: [PATCH] Adjust globalnet RBAC permissions Globalnet now annotates Gateways instead of nodes. Signed-off-by: Tom Pantelis --- submariner-operator/templates/rbac.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/submariner-operator/templates/rbac.yaml b/submariner-operator/templates/rbac.yaml index 2c4616a..488b1ca 100644 --- a/submariner-operator/templates/rbac.yaml +++ b/submariner-operator/templates/rbac.yaml @@ -226,6 +226,15 @@ metadata: chart: {{ template "submariner.chart" . }} app: {{ template "submariner.name" . }} rules: + - apiGroups: + - submariner.io + resources: + - gateways + verbs: + - get + - list + - watch + - update - apiGroups: - coordination.k8s.io resources: @@ -508,15 +517,6 @@ metadata: chart: {{ template "submariner.chart" . }} app: {{ template "submariner.name" . }} rules: - - apiGroups: - - "" - resources: - - nodes - verbs: - - get - - list - - watch - - update - apiGroups: - "" resources: