containerized-data-importer/pkg/controller
Arnon Gilboa 0b3900c60c
Garbage Collect Completed DVs (#2233)
* Garbage Collect Completed DVs

See design at:
https://github.com/kubevirt/community/blob/main/design-proposals/garbage-collect-completed-dvs.md

ToDos:
-DataImportCron and DataSource controllers adaptation and func tests
-Add doc for DataVolume, CDIConfig and DataImportCron changes
-Extend unit tests and functional tests
-KubeVirt adaptation

Signed-off-by: Arnon Gilboa <agilboa@redhat.com>

* Controller minor fixes

Signed-off-by: Arnon Gilboa <agilboa@redhat.com>

* Adapt tests to GC

Signed-off-by: Arnon Gilboa <agilboa@redhat.com>

* Add DV mutate unit test for GC

Signed-off-by: Arnon Gilboa <agilboa@redhat.com>

* Improve GC skip per annotation test

Signed-off-by: Arnon Gilboa <agilboa@redhat.com>

* Use DescribeTable for the GC tests

Signed-off-by: Arnon Gilboa <agilboa@redhat.com>
2022-05-19 00:09:31 +02:00
..
transfer Run make deps-update and update golang.org/x/crypto (#2225) 2022-04-05 20:47:41 +02:00
BUILD.bazel Start smart clone controller from datavolume controller when needed (#2265) 2022-05-12 04:28:01 +02:00
clone-controller_test.go one source pod certs in secrets (#2064) 2021-12-22 20:48:11 +01:00
clone-controller.go Detect storage capabilities for no-provisioner storage classes (#2226) 2022-05-12 14:00:02 +02:00
config-controller_test.go 23 libs (#2077) 2022-01-07 16:56:25 +01:00
config-controller.go Set http(s)_proxy to lower case env variable (#2132) 2022-02-03 18:09:41 +01:00
controller_suite_test.go Stop Using Deprecated Packages (#1548) 2020-12-24 07:08:50 +01:00
dataimportcron-conditions.go Get rid of DataImportCron finalizer (#2144) 2022-02-12 05:56:08 +01:00
dataimportcron-controller_test.go Add unit test to make sure we don't clean up dataimportcrons when not required (#2202) 2022-04-13 21:28:53 +02:00
dataimportcron-controller.go Garbage Collect Completed DVs (#2233) 2022-05-19 00:09:31 +02:00
datasource-controller_test.go Add DataSource controller to update the Ready condition (#2085) 2022-01-06 21:06:23 +01:00
datasource-controller.go Log UID of DataImportCron, DataSource & DataVolume (#2203) 2022-03-25 11:33:20 +01:00
datavolume-conditions_test.go Emit event and update dv conditions when pvc fails to create due to quota (#2016) 2021-11-16 17:29:39 +01:00
datavolume-conditions.go Extract the clone logic from main reconcile loop (#2241) 2022-04-21 04:13:51 +02:00
datavolume-controller_test.go Fix smart clone request size update (#2276) 2022-05-18 17:21:33 +02:00
datavolume-controller.go Garbage Collect Completed DVs (#2233) 2022-05-19 00:09:31 +02:00
import-controller_test.go Create imageio container during CDI build. (#2156) 2022-02-18 00:36:56 +01:00
import-controller.go Separate sdk api (#2208) 2022-03-31 21:31:18 +02:00
runtime-util.go Move apis to staging, push to containerized-data-importer-api (#1997) 2021-10-28 13:40:24 +02:00
smart-clone-controller_test.go Switch VolumeSnapshot to v1 (#2235) 2022-04-12 18:50:19 +02:00
smart-clone-controller.go Garbage Collect Completed DVs (#2233) 2022-05-19 00:09:31 +02:00
storageprofile-controller_test.go Make CDI clone strategy strings correct types (#2277) 2022-05-17 14:19:25 +02:00
storageprofile-controller.go Make CDI clone strategy strings correct types (#2277) 2022-05-17 14:19:25 +02:00
upload-controller_test.go 23 libs (#2077) 2022-01-07 16:56:25 +01:00
upload-controller.go Separate sdk api (#2208) 2022-03-31 21:31:18 +02:00
util_test.go Detect storage capabilities for no-provisioner storage classes (#2226) 2022-05-12 14:00:02 +02:00
util.go Garbage Collect Completed DVs (#2233) 2022-05-19 00:09:31 +02:00