123456789101112131415161718192021222324252627 |
- # permissions for end users to view postgresqls.
- apiVersion: rbac.authorization.k8s.io/v1
- kind: ClusterRole
- metadata:
- labels:
- app.kubernetes.io/name: clusterrole
- app.kubernetes.io/instance: postgresql-viewer-role
- app.kubernetes.io/component: rbac
- app.kubernetes.io/created-by: nodb
- app.kubernetes.io/part-of: nodb
- app.kubernetes.io/managed-by: kustomize
- name: postgresql-viewer-role
- rules:
- - apiGroups:
- - database.iwanhae.kr
- resources:
- - postgresqls
- verbs:
- - get
- - list
- - watch
- - apiGroups:
- - database.iwanhae.kr
- resources:
- - postgresqls/status
- verbs:
- - get
|