mirror of
https://github.com/kubevirt/containerized-data-importer.git
synced 2025-06-03 06:30:22 +00:00
![]() This PR introduces new import data source to fetch disks from ovirt and store them in storage available in the cluster. It uses ovirt-sdk to check whether the this is there, the size of the disk and it obtains signed ticket which allows to get the disk using ovirt-imageio-proxy. In order to use it a user needs to create configmap with ovirt api certificate and secret with ovirt engine user and password. Both are required and validated by webhook. In order to start import process we need to post following definition: --- apiVersion: cdi.kubevirt.io/v1alpha1 kind: DataVolume metadata: name: "imageio-dv" spec: source: imageio: url: "<engine-api-endpoint>" secretRef: "<secret-name-containing-engine-credentials>" certConfigMap: "<configmap-name-containing-engine-api-certificate>" diskId: "<disk-id-which-we-want-to-import>" pvc: accessModes: - ReadWriteOnce resources: requests: storage: "64Mi" --- Signed-off-by: Piotr Kliczewski <piotr.kliczewski@gmail.com> |
||
---|---|---|
.. | ||
BUILD.bazel | ||
clone-controller_test.go | ||
clone-controller.go | ||
config-controller_test.go | ||
config-controller.go | ||
controller_suite_test.go | ||
datavolume-controller_test.go | ||
datavolume-controller.go | ||
import-controller_test.go | ||
import-controller.go | ||
runtime-util.go | ||
smart-clone-controller.go | ||
upload-controller_test.go | ||
upload-controller.go | ||
util_test.go | ||
util.go |