• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kubevirt / containerized-data-importer
59%

Build:
DEFAULT BRANCH: main
Repo Added 25 Jul 2018 03:35PM UTC
Files 156
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH main
branch: main
CHANGE BRANCH
x
Reset
  • main
  • 1-32-kvci
  • 1-33-kvci
  • 2550-assume-fixed
  • 31-deps-bump
  • 3466
  • 3556
  • Fix-functional-tests-ginkgo-args-building
  • add-clone-populator-watches
  • add-operator-probes
  • add-pxcsi-support
  • add-test-filter-capability
  • add-vcenter-decription-test
  • add_prom_unit_tests
  • allow-access-cluster-services-csv
  • autoupdate
  • bazel-rules-oci
  • bazeldnf-caret-fix
  • bugfix/snapshot-volumemode-diff
  • build-functest-shebang
  • bump-containers-image-34
  • cbt-query-usage
  • cephfs-typo
  • change-cdi-deploy-selectors
  • change-metrics-port
  • change-termination-message-policy
  • chore-remove-deprecated-buildnametocertificate
  • clone-pvc-events
  • cnv-44140
  • cnv-52722
  • cnv-58645
  • cnv64424
  • comment-fix
  • consolidate-stream-data-to-file
  • container_image_poller
  • csv-dump-network-policies
  • datasource-pointer
  • debug-certrotation-ut
  • decompose-ds-controller-watches
  • dep-update-common-pkg
  • dependabot/go_modules/github.com/docker/docker-28.0.0incompatible
  • dependabot/go_modules/github.com/go-jose/go-jose/v3-3.0.4
  • dependabot/go_modules/github.com/ulikunitz/xz-0.5.14
  • dependabot/go_modules/golang.org/x/crypto-0.35.0
  • dependabot/go_modules/golang.org/x/net-0.38.0
  • dependabot/go_modules/staging/src/kubevirt.io/containerized-data-importer-api/golang.org/x/net-0.33.0
  • dependabot/go_modules/staging/src/kubevirt.io/containerized-data-importer-api/golang.org/x/net-0.36.0
  • deprecation-typo-v2-transfer
  • dic-poller-get-acknowledge-arch-digest
  • dic_pvc_source
  • dump-network-policies
  • dv-events-from-pvc
  • dv-recreated-status
  • enable_webhook_pvc_rendering_featuregate
  • exclude-scratch-pvcs-from-backup
  • feat/snapshot-restore-sc-selection
  • feature/add-status-subresource-to-storageprofile-crd
  • fix-cdi-space-calculations
  • fix-dataimportcron-nil-map-assignment
  • fix-datasource-references
  • fix-doc-dv
  • fix-doc-sources
  • fix-error-formatting
  • fix-label-regex
  • fix-multi-stage-import-test
  • fix-schedulable-running-condition
  • fix-upload-tests
  • fix/cephfs_capabilities
  • fix/storageprofile-error-message-status
  • fix_CDIDataVolumeUnusualRestartCount_alert
  • fix_clone_target_size_validation
  • fix_dic_image_pull_failed
  • fix_dv_bound_cond_unknown
  • fix_dv_events_test
  • fix_empty_storageprofile_test_event_check
  • fix_flaky_dic_snapshot_cond_test
  • fix_registry_datasource_import_without_certConfigMap
  • fix_storageprofile_rendering
  • fix_test_storage_profile_snapshot_source
  • fix_vddk_volume_import_source_update_test
  • flake-upload-proxy-static
  • force-dic-test-pullmethod-node
  • gcnv_caps
  • http-ds-validate-image-size
  • hyperdisk-caps
  • ibmc-vpc-block-csi
  • imageio_skip_tls
  • importer-report-scratch-space-message
  • improve-dv-testsc
  • issue-3878
  • kvci-1-31
  • kvci-nfs-fix
  • label-datasources-architecture
  • label-tests-vmware-and-imageio
  • metrics-io-timeout
  • move-destructive-flag-to-label-filter
  • multi-arch-release
  • multiarch-test-images
  • mutate_pvc_min_size
  • network-policies-mapping-cdi-dnm
  • new-builder-1-23
  • oci-clone-strategy
  • pass-annotation-removal
  • portworx_rwx_block
  • portworx_rwx_block_conditionally
  • propogate-labels-from-dv
  • pvc-clone-doc
  • rebind-capacity-present
  • reconcile-ds-on-reference-update
  • reconcile_storageprofile_min_pvc_size_annotation
  • register-volume-populators
  • release-v1.1
  • release-v1.10
  • release-v1.11
  • release-v1.12
  • release-v1.13
  • release-v1.14
  • release-v1.15
  • release-v1.16
  • release-v1.17
  • release-v1.18
  • release-v1.19
  • release-v1.2
  • release-v1.20
  • release-v1.21
  • release-v1.22
  • release-v1.23
  • release-v1.24
  • release-v1.25
  • release-v1.26
  • release-v1.28
  • release-v1.3
  • release-v1.4
  • release-v1.5
  • release-v1.6
  • release-v1.60
  • release-v1.7
  • release-v1.8
  • release-v1.9
  • releases-docs-dead-link
  • replace-virt-default-functest
  • report-upload-error-message-on-write-error
  • required-scc
  • revert-3644-portworx_rwx_block
  • revert-multi-arch-temporarily
  • revert-snap-manual-cleanup
  • safe-cwe-79
  • scc-volumes-hotloop
  • selected-node-tmp-host-assisted
  • set_min_pvc_size_per_sc_ann
  • sparse-check-tests
  • support-multiarch-registry-import
  • sync-scc-restricted-v2
  • targeted-sync-ci-err
  • temp-sc-owner-ref
  • test-https-proxy-no-certdir
  • test-image-multiarch-manifest
  • tinycore-multiarch
  • update-builder-go-124
  • update-default-fsoverhead
  • update_CDIDataVolumeUnusualRestartCount_health_impact_label
  • update_CDI_alerts_health_and_eval_time
  • update_builder_go_123
  • update_oauth_to_027
  • update_x_net_0_33_0
  • use-operator-observability-toolkit
  • v1.60.1
  • v1.60.4
  • v1.60.5
  • v1.61.0
  • v1.62.0
  • v1.63.0
  • v1.63.0-alpha.0
  • v1.63.1
  • vddk-extra-args-crd
  • volume-capabilities-oracle
  • watch_resource_quota
  • webhook-ns-selector
  • wrap-upload-server-error-message

05 Nov 2025 11:51PM UTC coverage: 59.064% (-0.01%) from 59.076%
#5655

push

travis-ci

web-flow
Add InsecureSkipVerify support for ImageIO data source (#3944)

What this PR does / why we need it:

This PR adds support for skipping TLS certificate verification when using
ImageIO as a data source for DataVolumes. This enables warm migrations from
oVirt/RHV providers when "Skip certificate validation" is enabled.

The implementation includes:
- Added InsecureSkipVerify field to DataVolumeSourceImageIO API spec
- Added AnnInsecureSkipVerify annotation for passing the flag to importer pods
- Updated UpdateImageIOAnnotations to set the annotation when enabled
- Modified NewImageioDataSource to accept and use the insecureSkipVerify parameter
- Updated getOvirtClient to use tls.Insecure() when flag is true
- Modified createHTTPClient to configure TLSClientConfig.InsecureSkipVerify
- Updated all test cases to pass the new parameter

After the fix:

Warm migrations from oVirt/RHV providers now work correctly when certificate validation is skipped.
The CDI ImageIO importer can connect to oVirt ImageIO
services without requiring a valid CA certificate in a ConfigMap, as long as the InsecureSkipVerify flag is set to true in the DataVolume spec.

Example DataVolume usage:
```yaml
spec:
  source:
    imageio:
      url: "https://ovirt-engine.example.com/ovirt-engine/api"
      diskId: "disk-uuid"
      secretRef: "ovirt-credentials"
      insecureSkipVerify: true  # Skip TLS certificate validation
```

Which issue(s) this PR fixes:

Jira Ticket: https://issues.redhat.com/browse/CNV-71978

Release note:
```release-note
DataVolumes can now skip TLS certificate verification when importing from oVirt/RHV ImageIO sources
by setting `spec.source.imageio.insecureSkipVerify: true`.
```

Signed-off-by: Elad Hazan <ehazan@redhat.com>

33 of 48 new or added lines in 7 files covered. (68.75%)

4 existing lines in 1 file now uncovered.

17246 of 29199 relevant lines covered (59.06%)

0.65 hits per line

Relevant lines Covered
Build:
Build:
29199 RELEVANT LINES 17246 COVERED LINES
0.65 HITS PER LINE
Source Files on main
  • Tree
  • List 156
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
#5655 main Add InsecureSkipVerify support for ImageIO data source (#3944) What this PR does / why we need it: This PR adds support for skipping TLS certificate verification when using ImageIO as a data source for DataVolumes. This enables warm migrations f... push 06 Nov 2025 12:02AM UTC web-flow travis-ci
59.06
#5631 main Remove CriticalAddonsOnly toleration from the CDI pods (#3909) (#3910) The CriticalAddonsOnly toleration is added to the CDI pods which affects pod scheduling and is against k8s best practices Signed-off-by: Howard Gao <howard.gao@gmail.com> Co-... push 17 Oct 2025 01:30PM UTC web-flow travis-ci
59.08
#5624 main DV Recreated with Wrong Status (#3912) * Add check during updateStatus that prevents DVs from updating its status from a PVC that is marked for deletion Signed-off-by: dsanatar <dsanatar@redhat.com> * add unit test to make sure PVCs marked for ... push 08 Oct 2025 08:27PM UTC web-flow travis-ci
59.09
#5622 main uploadserver: wrap no capacity error (#3931) Previously a generic error was used in case of a lack of capacity error during upload. This commit wraps the returned error instead of overwriting it to provide additional context. Signed-off-by: Adi... push 05 Oct 2025 03:49PM UTC web-flow travis-ci
59.09
#5618 main dataimportcron_test: force pullMethod node for architecture pull test (#3928) Signed-off-by: Adi Aloni <aaloni@redhat.com> push 30 Sep 2025 06:10PM UTC web-flow travis-ci
59.12
#5606 main Add status subresource to StorageProfile CRD (#3863) it includes: 1. Add +kubebuilder:subresource:status annotation to StorageProfile type 2. Update controller to handle status updates separately from spec/metadata 3. Regenerate CRD with status s... push 25 Sep 2025 09:18AM UTC web-flow travis-ci
59.15
#5604 main Add Readiness/Liveness Probes to Operator Pod (#3876) * add liveness and readiness probes that periodically make http get requests to an existing endpoint Signed-off-by: dsanatar <dsanatar@redhat.com> * add new health and ready endpoints for pr... push 23 Sep 2025 04:50PM UTC web-flow travis-ci
59.11
#5603 main Tests: Remove DataVolume to Pod annotation propagation tests (#3911) * Remove DV annotation to transfer pods tests This commit removes several functional tests that check that certain annotations are passed from the DV to the transfer pods. The... push 22 Sep 2025 07:00PM UTC web-flow travis-ci
59.2
#5600 main dataimportcron-controller: fix nil map assignment (#3919) The code path assumed that workloadNodePlacement's NodeSelector map was already initialized. This commit ensures that it is initialized before assignment to avoid a panic when the map is n... push 19 Sep 2025 06:10PM UTC web-flow travis-ci
59.22
#5598 main Oracle Cloud: Set default clone strategy to csi-clone (#3882) Signed-off-by: Alvaro Romero <alromero@redhat.com> push 18 Sep 2025 02:40PM UTC web-flow travis-ci
59.22
See All Builds (5653)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc