mirror of
https://github.com/kubevirt/containerized-data-importer.git
synced 2025-06-03 06:30:22 +00:00
![]() * Add support for a VDDK datasource to the controllers This commit does not implement the VDDK datasource. It simply adds the DataVolumeSourceVDDK type and adds support to the datavolume and import controllers for it. The datasource itself will need to be done in a follow-up. Signed-off-by: Sam Lucidi <slucidi@redhat.com> * Fix tests and clean up lint Signed-off-by: Sam Lucidi <slucidi@redhat.com> * Add DataVolumeSourceVDDK to the v1alpha1 api group Signed-off-by: Sam Lucidi <slucidi@redhat.com> * Install nbdkit. Signed-off-by: Matthew Arnold <marnold@redhat.com> * Add govmomi to vendor directory. Signed-off-by: Matthew Arnold <marnold@redhat.com> * Integrate govmomi into build. Incomplete! This allows 'find' and 'object' imports from govmomi, but further dependencies may require more bazel tweaks later. Signed-off-by: Matthew Arnold <marnold@redhat.com> * Create a container image just to hold the VDDK. Mount the VDDK folder to /opt. Also copy the libxcrypt-compat RPM to /opt for run-time installation as a temporary workaround for my inability to install it at container creation time. Make VDDK optional by storing a dummy file in its directory, so an empty VDDK directory will not break the build. Signed-off-by: Matthew Arnold <marnold@redhat.com> * Fill in VDDK data source. Add the simplest possible VDDK data source: set up an nbdkit server with the given VMware parameters, and copy data out using qemu-img. Signed-off-by: Matthew Arnold <marnold@redhat.com> * Add vddk to resource validation schema. Stops "error validating data" messages. Signed-off-by: Matthew Arnold <marnold@redhat.com> * Move libxcrypt-compat install out of VDDK image. Requiring users to add this to the VDDK image is kind of onerous, so move it straight into the importer image instead. Signed-off-by: Matthew Arnold <marnold@redhat.com> * Generate BUILD.bazel for the rest of govmomi. Signed-off-by: Matthew Arnold <marnold@redhat.com> * Get VDDK sidecar image from v2v-vmware ConfigMap. Convention from https://github.com/kubevirt/web-ui-components/pull/534 Signed-off-by: Matthew Arnold <marnold@redhat.com> * Reduce nbdkit startup timeout. Signed-off-by: Matthew Arnold <marnold@redhat.com> * Update govmomi dependencies. Cleans up 'inconsistent vendoring' errors. Signed-off-by: Matthew Arnold <marnold@redhat.com> * Fix schema verification test. Signed-off-by: Matthew Arnold <marnold@redhat.com> * Change disk.raw to disk.img. Signed-off-by: Matthew Arnold <marnold@redhat.com> * Add vCenter simulator for VDDK datasource tests. Signed-off-by: Matthew Arnold <marnold@redhat.com> * Functional test with vcsim and dummy VDDK plugin. Signed-off-by: Matthew Arnold <marnold@redhat.com> * Clean up lint errors. Signed-off-by: Matthew Arnold <marnold@redhat.com> * Check kubevirt-hyperconverged namespace for VDDK. Signed-off-by: Matthew Arnold <marnold@redhat.com> * Add VDDK unit tests and API functional test. Signed-off-by: Matthew Arnold <marnold@redhat.com> * Read a raw image for VDDK test plugin. Have the fake VDDK test plugin for nbdkit read a raw image passed in /opt/updates/nbdtest.img instead of returning fixed data. Signed-off-by: Matthew Arnold <marnold@redhat.com> * Add some documentation about VDDK data sources. Signed-off-by: Matthew Arnold <marnold@redhat.com> * Remove unit test focus and trailing spaces. Signed-off-by: Matthew Arnold <marnold@redhat.com> * Use updated build container image. Signed-off-by: Matthew Arnold <marnold@redhat.com> * Add some extra comments about VDDK fields. Signed-off-by: Matthew Arnold <marnold@redhat.com> * Clarify VDDK ConfigMap a little more. Signed-off-by: Matthew Arnold <marnold@redhat.com> * Clarify namespace for vddk-init sidecar. Signed-off-by: Matthew Arnold <marnold@redhat.com> * Remove NodePort from vCenter simulator manifest. Signed-off-by: Matthew Arnold <marnold@redhat.com> * Re-word explanations on VDDK source types. Signed-off-by: Matthew Arnold <marnold@redhat.com> * Add VDDK to comment with types needing URL check. Signed-off-by: Matthew Arnold <marnold@redhat.com> * Rebuild types. Signed-off-by: Matthew Arnold <marnold@redhat.com> * Move AnnThumbprint to storage.import.vddk.thumbprint. Signed-off-by: Matthew Arnold <marnold@redhat.com> * Remove run-time installation of libxcrypt-compat. Signed-off-by: Matthew Arnold <marnold@redhat.com> * Remove fixed namespaces for vddk-init reference. The importer now looks for the v2v-vmware ConfigMap in the current CDI namespace instead of openshift-cnv/kubevirt-hyperconverged. Signed-off-by: Matthew Arnold <marnold@redhat.com> * Find CDI install namespace from data volume test. Signed-off-by: Matthew Arnold <marnold@redhat.com> Co-authored-by: Sam Lucidi <slucidi@redhat.com> |
||
---|---|---|
.. | ||
blank-image-datavolume.yaml | ||
cert-configmap.yaml | ||
clone-block-datavolume.yaml | ||
clone-datavolume.yaml | ||
endpoint-secret.yaml | ||
example-cdiconfig.yaml | ||
import-archive-block-datavolume.yaml | ||
import-archive-datavolume.yaml | ||
import-block-pv.yaml | ||
import-kubevirt-block-datavolume.yaml | ||
import-kubevirt-datavolume-secret.yaml | ||
import-kubevirt-datavolume.yaml | ||
registry-image-block-datavolume.yaml | ||
registry-image-datavolume.yaml | ||
upload-block-datavolume-token.yaml | ||
upload-block-datavolume.yaml | ||
upload-datavolume-token.yaml | ||
upload-datavolume.yaml | ||
vddk-configmap.yaml | ||
vm-dv.yaml |