Olaf Bohlen
2023-03-21 0cfd14f46c75d2eef2ed792f2cb27c68415a6be1
cookie-rbac.yaml
@@ -2,12 +2,12 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: cookiereceipt-edit
  name: cookierecipe-edit
rules:
- apiGroups:
  - de.eenfach.olbohlen
  resources:
  - cookiereceipts
  - cookierecipes
  verbs:
  - create
  - get
@@ -19,12 +19,12 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: cookiereceipt-view
  name: cookierecipe-view
rules:
- apiGroups:
  - de.eenfach.olbohlen
  resources:
  - cookiereceipts
  - cookierecipes
  verbs:
  - get
  - list
@@ -32,11 +32,11 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: cookiereceipt-edit
  name: cookierecipe-edit
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: cookiereceipt-edit
  name: cookierecipe-edit
subjects:
- apiGroup: rbac.authorization.k8s.io
  kind: Group