apps/postgres-operator/resources/rbac/role.yaml

146 lines
1.8 KiB
YAML
Raw Permalink Normal View History

2023-11-14 21:12:33 +00:00
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: postgres-operator
rules:
- apiGroups:
- ''
resources:
- configmaps
- persistentvolumeclaims
- secrets
- services
verbs:
- create
- delete
- get
- list
- patch
- watch
- apiGroups:
- ''
resources:
- endpoints
verbs:
- create
- delete
- deletecollection
- get
- list
- patch
- watch
- apiGroups:
- ''
resources:
- endpoints/restricted
- pods/exec
verbs:
- create
- apiGroups:
- ''
resources:
- events
verbs:
- create
- patch
- apiGroups:
- ''
resources:
- pods
verbs:
- delete
- get
- list
- patch
- watch
- apiGroups:
- ''
resources:
- serviceaccounts
verbs:
- create
- get
- list
- patch
- watch
- apiGroups:
- apps
resources:
- deployments
- statefulsets
verbs:
- create
- delete
- get
- list
- patch
- watch
- apiGroups:
- batch
resources:
- cronjobs
- jobs
verbs:
- create
- delete
- get
- list
- patch
- watch
- apiGroups:
- policy
resources:
- poddisruptionbudgets
verbs:
- create
- delete
- get
- list
- patch
- watch
- apiGroups:
- postgres-operator.crunchydata.com
resources:
2023-12-21 13:56:26 +00:00
- pgadmins
2023-11-14 21:12:33 +00:00
- pgupgrades
verbs:
- get
- list
- watch
- apiGroups:
- postgres-operator.crunchydata.com
resources:
2023-12-21 13:56:26 +00:00
- pgadmins/finalizers
2023-11-14 21:12:33 +00:00
- pgupgrades/finalizers
2023-12-21 13:56:26 +00:00
- postgresclusters/finalizers
2023-11-14 21:12:33 +00:00
verbs:
- update
- apiGroups:
- postgres-operator.crunchydata.com
resources:
2023-12-21 13:56:26 +00:00
- pgadmins/status
2023-11-14 21:12:33 +00:00
- pgupgrades/status
2023-12-21 13:56:26 +00:00
- postgresclusters/status
2023-11-14 21:12:33 +00:00
verbs:
- patch
- apiGroups:
- postgres-operator.crunchydata.com
resources:
- postgresclusters
verbs:
- get
- list
- patch
- watch
- apiGroups:
- rbac.authorization.k8s.io
resources:
- rolebindings
- roles
verbs:
- create
- get
- list
- patch
- watch