Olaf Bohlen
2023-01-01 937c2b3696c23ddc11bc258920b68ea620a3e588
commit | author | age
d99f23 1 ---
OB 2 apiVersion: rbac.authorization.k8s.io/v1
3 kind: ClusterRole
4 metadata:
5   name: cookiereceipt-edit
6 rules:
7 - apiGroups:
8   - de.eenfach.olbohlen
9   resources:
10   - cookiereceipts
11   verbs:
12   - create
13   - get
14   - list
15   - update
16   - patch
17   - delete
18 ---
19 apiVersion: rbac.authorization.k8s.io/v1
20 kind: ClusterRole
21 metadata:
22   name: cookiereceipt-view
23 rules:
24 - apiGroups:
25   - de.eenfach.olbohlen
26   resources:
27   - cookiereceipts
28   verbs:
29   - get
30   - list
31 ---
32 apiVersion: rbac.authorization.k8s.io/v1
33 kind: ClusterRoleBinding
34 metadata:
35   name: cookiereceipt-edit
36 roleRef:
37   apiGroup: rbac.authorization.k8s.io
38   kind: ClusterRole
39   name: cookiereceipt-edit
40 subjects:
41 - apiGroup: rbac.authorization.k8s.io
42   kind: Group
43   name: system:authenticated:oauth