Olaf Bohlen
2023-03-21 0cfd14f46c75d2eef2ed792f2cb27c68415a6be1
commit | author | age
d99f23 1 ---
OB 2 apiVersion: rbac.authorization.k8s.io/v1
3 kind: ClusterRole
4 metadata:
267308 5   name: cookierecipe-edit
d99f23 6 rules:
OB 7 - apiGroups:
8   - de.eenfach.olbohlen
9   resources:
267308 10   - cookierecipes
d99f23 11   verbs:
OB 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:
267308 22   name: cookierecipe-view
d99f23 23 rules:
OB 24 - apiGroups:
25   - de.eenfach.olbohlen
26   resources:
267308 27   - cookierecipes
d99f23 28   verbs:
OB 29   - get
30   - list
31 ---
32 apiVersion: rbac.authorization.k8s.io/v1
33 kind: ClusterRoleBinding
34 metadata:
267308 35   name: cookierecipe-edit
d99f23 36 roleRef:
OB 37   apiGroup: rbac.authorization.k8s.io
38   kind: ClusterRole
267308 39   name: cookierecipe-edit
d99f23 40 subjects:
OB 41 - apiGroup: rbac.authorization.k8s.io
42   kind: Group
43   name: system:authenticated:oauth