-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Request: Review and minimize postgres-pod RBAC permissions #3057
Copy link
Copy link
Open
Description
Hi,
My customer has requested a review of the postgres-pod ClusterRole to reduce its permissions to the minimum required.
My tests (which probably are not as complete as you may conduct) suggests the following minimal ruleset is sufficient:
rules:
- verbs:
- create
- list
- patch
- watch
apiGroups:
- ""
resources:
- endpoints
- verbs:
- create
apiGroups:
- ""
resources:
- services
- verbs:
- list
- patch
- watch
apiGroups:
- ""
resources:
- podsCompared to the current postgres-pod ClusterRole, this would remove the following verbs:
- endpoints: delete, deletecollection, get, update
- pods: get, update
- services: no change
Would you be willing to conduct an official review of the postgres-pod RBAC permissions with the goal of applying the principle of least privilege?
Thanks' for the work you've put on this operator
Regrads
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels