Define RBAC for running in cluster.

This commit is contained in:
Michael Lipp 2023-09-16 11:48:20 +02:00
parent ea6751282c
commit f24b6aca52
5 changed files with 44 additions and 1 deletions

View file

@ -0,0 +1,13 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: vm-runner
labels:
app.kubernetes.io/name: vm-operator
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: vm-runner
subjects:
- kind: ServiceAccount
name: vm-runner