clank-postgres/postgres-operator-examples-main/kustomize/install/rbac/cluster/role_binding.yaml

15 lines
325 B
YAML
Raw Normal View History

2023-04-06 02:21:56 +02:00
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: postgres-operator
labels:
postgres-operator.crunchydata.com/control-plane: postgres-operator
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: postgres-operator
subjects:
- kind: ServiceAccount
name: pgo