Skip to content

Commit

Permalink
Restore CRUD Secret RBAC permissons for the operator Role
Browse files Browse the repository at this point in the history
CRUD access to Secrets were removed but it turns out we need it in
order to sync Secrets from the broker namespace to the
submariner-operator namespace.

Signed-off-by: Tom Pantelis <[email protected]>
  • Loading branch information
tpantelis authored and dfarrell07 committed May 7, 2024
1 parent d191623 commit ff1fd3b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions config/rbac/submariner-operator/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@ rules:
- get
- create
- update
- apiGroups:
- ""
resources:
# For syncing Secrets from the broker
- secrets
verbs:
- get
- create
- update
- delete
- apiGroups:
- ""
resources:
Expand Down
10 changes: 10 additions & 0 deletions pkg/embeddedyamls/yamls.go
Original file line number Diff line number Diff line change
Expand Up @@ -2617,6 +2617,16 @@ rules:
- get
- create
- update
- apiGroups:
- ""
resources:
# For syncing Secrets from the broker
- secrets
verbs:
- get
- create
- update
- delete
- apiGroups:
- ""
resources:
Expand Down

0 comments on commit ff1fd3b

Please sign in to comment.