44 lines
739 B
YAML
44 lines
739 B
YAML
---
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRole
|
|
metadata:
|
|
name: cookierecipe-edit
|
|
rules:
|
|
- apiGroups:
|
|
- de.eenfach.olbohlen
|
|
resources:
|
|
- cookierecipes
|
|
verbs:
|
|
- create
|
|
- get
|
|
- list
|
|
- update
|
|
- patch
|
|
- delete
|
|
---
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRole
|
|
metadata:
|
|
name: cookierecipe-view
|
|
rules:
|
|
- apiGroups:
|
|
- de.eenfach.olbohlen
|
|
resources:
|
|
- cookierecipes
|
|
verbs:
|
|
- get
|
|
- list
|
|
---
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRoleBinding
|
|
metadata:
|
|
name: cookierecipe-edit
|
|
roleRef:
|
|
apiGroup: rbac.authorization.k8s.io
|
|
kind: ClusterRole
|
|
name: cookierecipe-edit
|
|
subjects:
|
|
- apiGroup: rbac.authorization.k8s.io
|
|
kind: Group
|
|
name: system:authenticated:oauth
|