containerized-data-importer/pkg/controller/common
Michael Henriksen b86d3dd3a3
Feature Gate and annotation for PVCs to be "adopted" by DataVolumes (#3029)
* apiserver support for cdi.kubevirt.io/allowClaimAdoption

Signed-off-by: Michael Henriksen <mhenriks@redhat.com>

* controller support for cdi.kubevirt.io/allowClaimAdoption on existing PVC

Signed-off-by: Michael Henriksen <mhenriks@redhat.com>

* if cdi.kubevirt.io/allowClaimAdoption specified on DataVolume do not apply on PVC until DV is succeeded

Signed-off-by: Michael Henriksen <mhenriks@redhat.com>

* add DataVolumeClaimAdoption featuregate and integrate with apiserver and controller

Signed-off-by: Michael Henriksen <mhenriks@redhat.com>

* functional tests for claim adoption

Signed-off-by: Michael Henriksen <mhenriks@redhat.com>

* Fix func test failure and address some review comments

Signed-off-by: Michael Henriksen <mhenriks@redhat.com>

* rename pvcRequiresNoWork to pvcRequiresWork

Signed-off-by: Michael Henriksen <mhenriks@redhat.com>

* allow unbound PVC to be adopted

Signed-off-by: Michael Henriksen <mhenriks@redhat.com>

---------

Signed-off-by: Michael Henriksen <mhenriks@redhat.com>
2024-01-17 19:53:59 +01:00
..
BUILD.bazel Refactor monitoring code (#3009) 2024-01-02 09:17:18 +01:00
checkpoint-util.go Support multi-stage imports in import populator (#2767) 2023-07-12 16:14:16 +02:00
controller_suite_test.go Update to ginkgo v2 (#2788) 2023-07-26 02:35:55 +02:00
runtime-util.go Split and refactor DV controller (#2483) 2022-12-22 01:03:15 +00:00
util_test.go Default storage class for virtualization purposes (#2913) 2023-10-27 04:28:15 +02:00
util.go Feature Gate and annotation for PVCs to be "adopted" by DataVolumes (#3029) 2024-01-17 19:53:59 +01:00