Skip to content

Commit

Permalink
feat: move dv cloning permissions to a cluster role (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
chomatdam authored Dec 2, 2024
1 parent 214efc5 commit ff0c1de
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions gitops/components/kubevirt/kustomize/resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@ spec:
nodeSelector:
kubernetes.io/os: linux
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: "cdi:data-volumes:clone"
rules:
- apiGroups: ["cdi.kubevirt.io"]
resources: ["datavolumes/source"]
verbs: ["create"]
---
apiVersion: kubevirt.io/v1
kind: KubeVirt
metadata:
Expand Down

0 comments on commit ff0c1de

Please sign in to comment.