kubevirt/disks-images-provider.yaml
Vasily Ulyanov 18a3b21466 Accepting request 1125817 from home:vulyanov:branches:Virtualization
- Update to version 1.1.0
  Release notes https://github.com/kubevirt/kubevirt/releases/tag/v1.1.0
- Drop upstreamed patches
  0001-Fix-qemu-system-lookup.patch
  0003-Virtiofs-Remove-duplicated-functional-tests.patch
  0005-Support-multiple-watchdogs-in-the-domain-schema.patch
- Add patches
  0001-Update-google.golang.org-grpc-to-1.56.3.patch (CVE-2023-44487)
  0002-virt-launcher-fix-qemu-non-root-path.patch
  0003-cgroupsv2-reconstruct-device-allowlist.patch

OBS-URL: https://build.opensuse.org/request/show/1125817
OBS-URL: https://build.opensuse.org/package/show/Virtualization/kubevirt?expand=0&rev=139
2023-11-14 08:38:23 +00:00

60 lines
1.6 KiB
YAML

apiVersion: apps/v1
kind: DaemonSet
metadata:
name: disks-images-provider
namespace: kubevirt
labels:
kubevirt.io: "disks-images-provider"
spec:
selector:
matchLabels:
kubevirt.io: "disks-images-provider"
template:
metadata:
labels:
name: disks-images-provider
kubevirt.io: disks-images-provider
name: disks-images-provider
spec:
tolerations:
- key: CriticalAddonsOnly
operator: Exists
serviceAccountName: kubevirt-testing
containers:
- name: target
image: quay.io/kubevirt/disks-images-provider:v1.1.0
imagePullPolicy: Always
lifecycle:
preStop:
exec:
command: ["/bin/sh","-c","source /etc/bashrc && chroot /host umount ${LOOP_DEVICE_HP} && chroot /host losetup -d ${LOOP_DEVICE_HP}"]
volumeMounts:
- name: images
mountPath: /hostImages
- name: local-storage
mountPath: /local-storage
- name: host-dir
mountPath: /host
mountPropagation: Bidirectional
securityContext:
privileged: true
readinessProbe:
exec:
command:
- cat
- /ready
initialDelaySeconds: 10
periodSeconds: 5
volumes:
- name: images
hostPath:
path: /tmp/hostImages
type: DirectoryOrCreate
- name: local-storage
hostPath:
path: /mnt/local-storage
type: DirectoryOrCreate
- name: host-dir
hostPath:
path: /