initial bundle

This commit is contained in:
Olaf Bohlen
2023-01-01 21:42:31 +01:00
commit d99f23906b
7 changed files with 399 additions and 0 deletions

43
cookie-rbac.yaml Normal file
View File

@@ -0,0 +1,43 @@
---
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