containerized-data-importer/pkg/controller
Alexander Wels b3d08268e2
Start smart clone controller from datavolume controller when needed (#2265)
* periodic sync CSI snapshot CRD check

It was possible for the CSI snapshot CRD check to fail silently and
prevent the smart clone controller from starting during the cdi deployment
pod start up. This would prevent smart clone from working properly.

This adds a periodic sync of 1 minute for checking the CRDs. We also
log failures that are not is not found so we can more easily detect this
situation as humans.

Signed-off-by: Alexander Wels <awels@redhat.com>

* Change location of the start controller call.

Signed-off-by: Alexander Wels <awels@redhat.com>
2022-05-12 04:28:01 +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 Separate sdk api (#2208) 2022-03-31 21:31:18 +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 Fix DataImportCron watch race (#2238) 2022-04-15 00:18:28 +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 Start smart clone controller from datavolume controller when needed (#2265) 2022-05-12 04:28:01 +02:00
datavolume-controller.go Start smart clone controller from datavolume controller when needed (#2265) 2022-05-12 04:28:01 +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 Switch VolumeSnapshot to v1 (#2235) 2022-04-12 18:50:19 +02:00
storageprofile-controller_test.go Trigger Host Assisted Cloning for encrypted ocs sc. (#2004) 2021-12-11 00:52:00 +01:00
storageprofile-controller.go Gather all metrics info in a single location (#2231) 2022-04-13 01:46:19 +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 Switch VolumeSnapshot to v1 (#2235) 2022-04-12 18:50:19 +02:00
util.go Start smart clone controller from datavolume controller when needed (#2265) 2022-05-12 04:28:01 +02:00