Skip to content

Commit 9dccfd7

Browse files
committed
chore(kubevirt): change host path for node-labeller xmls
We have custom qemu with different machine types thus it conflicts with the original kubevirt. Separating directories /var/lib/kubevirt for original and /var/lib/d8-virtualization/node-labeller for DVP does the trick: nodes are labelled with different machine-type labels. Signed-off-by: Ivan Mikheykin <ivan.mikheykin@flant.com>
1 parent 294b347 commit 9dccfd7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

templates/kubevirt/kubevirt.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,13 @@ env:
360360
patch: '{"spec":{"template":{"metadata":{"labels":{"security.deckhouse.io/security-policy-exception": "virt-handler-ds"}}}}}'
361361
type: strategic
362362

363+
# Change host path for directory with capabilities xml files. We have custom qemu with different
364+
# machine types thus it conflicts with the original kubevirt.
365+
- resourceName: virt-handler
366+
resourceType: DaemonSet
367+
patch: '{"spec":{"template":{"spec":{"volumes":[{"name":"node-labeller","hostPath":{"path":"/var/lib/d8-virtualization/node-labeller"}}]}}}}'
368+
type: strategic
369+
363370
imagePullPolicy: IfNotPresent
364371
imagePullSecrets:
365372
- name: virtualization-module-registry

0 commit comments

Comments
 (0)