diff --git a/submariner-operator/templates/rbac.yaml b/submariner-operator/templates/rbac.yaml index cca5f59..595f3db 100644 --- a/submariner-operator/templates/rbac.yaml +++ b/submariner-operator/templates/rbac.yaml @@ -615,7 +615,6 @@ rules: - get - list - watch - - update - apiGroups: - discovery.k8s.io resources: @@ -632,8 +631,8 @@ rules: - apiGroups: - submariner.io resources: - - "gateways" - - "globalingressips" + - gateways + - globalingressips verbs: - get - list @@ -641,7 +640,8 @@ rules: - apiGroups: - multicluster.x-k8s.io resources: - - "*" + - serviceimports + - serviceimports/status verbs: - create - get @@ -649,6 +649,20 @@ rules: - watch - update - delete + - apiGroups: + - multicluster.x-k8s.io + resources: + - serviceexports + verbs: + - get + - list + - watch + - apiGroups: + - multicluster.x-k8s.io + resources: + - serviceexports/status + verbs: + - update --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding