We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5be519 commit 89b7039Copy full SHA for 89b7039
deploy/user-rbac.yaml
@@ -0,0 +1,35 @@
1
+kind: ClusterRole
2
+apiVersion: rbac.authorization.k8s.io/v1beta1
3
+metadata:
4
+ name: pgocrdreader
5
+rules:
6
+ - verbs:
7
+ - get
8
+ - list
9
+ apiGroups:
10
+ - '*'
11
+ resources:
12
+ - pgclusters
13
+ - pgbackups
14
+ - pgingests
15
+ - pgpolicies
16
+ - pgreplicas
17
+ - pgtasks
18
+ - pgupgrades
19
+
20
+---
21
22
23
+kind: ClusterRoleBinding
24
25
+ name: pgocrdreaderbinding
26
+roleRef:
27
+ apiGroup: rbac.authorization.k8s.io
28
+ kind: ClusterRole
29
30
+subjects:
31
+- apiGroup: rbac.authorization.k8s.io
32
+ kind: User
33
+ name: demo
34
35
0 commit comments