Files
cookie-operator/cookie-rbac.yaml
2023-01-01 21:42:31 +01:00

44 lines
745 B
YAML

---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: cookiereceipt-edit
rules:
- apiGroups:
- de.eenfach.olbohlen
resources:
- cookiereceipts
verbs:
- create
- get
- list
- update
- patch
- delete
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: cookiereceipt-view
rules:
- apiGroups:
- de.eenfach.olbohlen
resources:
- cookiereceipts
verbs:
- get
- list
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: cookiereceipt-edit
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cookiereceipt-edit
subjects:
- apiGroup: rbac.authorization.k8s.io
kind: Group
name: system:authenticated:oauth