Skip to content

Commit

Permalink
Reduce RBAC
Browse files Browse the repository at this point in the history
Fixes: #47 - I don't think create/delete are needed for
namespace, which is user-managed. Patch/update might be
needed to manage the status.

The same goes for ClusterPullSecret - which is a user-managed
resource.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
  • Loading branch information
alexellis committed Nov 18, 2024
1 parent 77b2b0b commit e162934
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,11 @@ rules:
resources:
- namespaces
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- update
- patch
- apiGroups:
- ""
resources:
Expand Down Expand Up @@ -69,8 +67,6 @@ rules:
resources:
- clusterpullsecrets
verbs:
- create
- delete
- get
- list
- patch
Expand Down

0 comments on commit e162934

Please sign in to comment.