Merge "fix the vms turn transient after libvirt pod restarts"

This commit is contained in:
Zuul 2018-03-30 18:07:40 +00:00 committed by Gerrit Code Review
commit 3dfb5d5dc7

View File

@ -109,6 +109,8 @@ spec:
mountPath: /etc/libvirt/qemu.conf mountPath: /etc/libvirt/qemu.conf
subPath: qemu.conf subPath: qemu.conf
readOnly: true readOnly: true
- name: etc-libvirt-qemu
mountPath: /etc/libvirt/qemu
- mountPath: /lib/modules - mountPath: /lib/modules
name: libmodules name: libmodules
readOnly: true readOnly: true
@ -179,5 +181,8 @@ spec:
- name: machine-id - name: machine-id
hostPath: hostPath:
path: /etc/machine-id path: /etc/machine-id
- name: etc-libvirt-qemu
hostPath:
path: /etc/libvirt/qemu
{{ if $mounts_libvirt.volumes }}{{ toYaml $mounts_libvirt.volumes | indent 8 }}{{ end }} {{ if $mounts_libvirt.volumes }}{{ toYaml $mounts_libvirt.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}