Skip to content

Commit

Permalink
Reduce lighthouse-agent RBAC permissions
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Pantelis <[email protected]>
  • Loading branch information
tpantelis authored and skitt committed May 6, 2024
1 parent f037f15 commit 1b251e8
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions submariner-operator/templates/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,6 @@ rules:
- get
- list
- watch
- update
- apiGroups:
- discovery.k8s.io
resources:
Expand All @@ -632,23 +631,38 @@ rules:
- apiGroups:
- submariner.io
resources:
- "gateways"
- "globalingressips"
- gateways
- globalingressips
verbs:
- get
- list
- watch
- apiGroups:
- multicluster.x-k8s.io
resources:
- "*"
- serviceimports
- serviceimports/status
verbs:
- create
- get
- list
- 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
Expand Down

0 comments on commit 1b251e8

Please sign in to comment.