Skip to content

Commit

Permalink
update rbac docs
Browse files Browse the repository at this point in the history
  • Loading branch information
davidebianchi committed Aug 23, 2024
1 parent 1a12c0e commit 8dd9257
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions docs/installation/rbac.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ To add the permission to manage other resources, it is possible to aggregate cus

### Example

The following example shows how to create a ClusterRole that allows the operator to manage ReplicaSets resources. For each resource, you need to add at least the following verbs: `create`, `delete`, `get`, `list`, `patch`, `update`, `watch`.
<!-- TODO: verify that create and delete verbs can be not set -->
The following example shows how to create a ClusterRole that allows the operator to manage ReplicaSets resources. For each resource, you need to add at least the following verbs: `get`, `list`, `patch`, `update`, `watch`.

```yaml
apiVersion: rbac.authorization.k8s.io/v1
Expand All @@ -31,8 +30,6 @@ rules:
resources:
- replicasets
verbs:
- create # TODO: verify if this is necessary
- delete # TODO: verify if this is necessary
- get
- list
- patch
Expand All @@ -56,8 +53,6 @@ An example configuration:
resources:
- replicasets
verbs:
- create
- delete
- get
- list
- patch
Expand Down

0 comments on commit 8dd9257

Please sign in to comment.