Olaf Bohlen
2023-03-21 3b58aa1ef847d9594b48fe1584d47e7aeb1da64d
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