velero/pkg/restore
Nolan Brubaker 6745979a7b
Wait for CRDs to be ready before restoring CRs (#1937)
* Wait for CRDs to be available and ready

When restoring CRDs, we should wait for the definition to be ready and
available before moving on to restoring specific CRs.

While the CRDs are often ready by the time we get to restoring a CR,
there is a race condition where the CRD isn't ready.

This change waits on each CRD at restore time.

Signed-off-by: Nolan Brubaker <brubakern@vmware.com>
2020-01-30 09:19:13 -08:00
..
mocks Updates for org move to vmware-tanzu (#1920) 2019-09-30 17:26:56 -04:00
add_pv_from_pvc_action.go Updates for org move to vmware-tanzu (#1920) 2019-09-30 17:26:56 -04:00
add_pv_from_pvc_action_test.go Updates for org move to vmware-tanzu (#1920) 2019-09-30 17:26:56 -04:00
add_pvc_from_pod_action.go Updates for org move to vmware-tanzu (#1920) 2019-09-30 17:26:56 -04:00
add_pvc_from_pod_action_test.go Updates for org move to vmware-tanzu (#1920) 2019-09-30 17:26:56 -04:00
change_storageclass_action.go Updates for org move to vmware-tanzu (#1920) 2019-09-30 17:26:56 -04:00
change_storageclass_action_test.go Updates for org move to vmware-tanzu (#1920) 2019-09-30 17:26:56 -04:00
clusterrolebinding_action.go Restore action for cluster/namespace role bindings (#1974) 2019-10-21 15:11:26 -06:00
clusterrolebinding_action_test.go Restore action for cluster/namespace role bindings (#1974) 2019-10-21 15:11:26 -06:00
crd_v1_preserve_unknown_fields_action.go Fix restore issues for CRD v1 on Kubernetes v1.16 clusters (#2197) 2020-01-27 13:59:08 -08:00
job_action.go Updates for org move to vmware-tanzu (#1920) 2019-09-30 17:26:56 -04:00
job_action_test.go Updates for org move to vmware-tanzu (#1920) 2019-09-30 17:26:56 -04:00
merge_service_account.go update license headers to Velero contributors (#1302) 2019-03-20 12:32:48 -07:00
merge_service_account_test.go Updates for org move to vmware-tanzu (#1920) 2019-09-30 17:26:56 -04:00
pod_action.go Updates for org move to vmware-tanzu (#1920) 2019-09-30 17:26:56 -04:00
pod_action_test.go Updates for org move to vmware-tanzu (#1920) 2019-09-30 17:26:56 -04:00
pv_restorer.go Updates for org move to vmware-tanzu (#1920) 2019-09-30 17:26:56 -04:00
pv_restorer_test.go Extract providers (#1985) 2019-10-22 15:31:27 -07:00
restic_restore_action.go Assign default CPU/Memory resource value if not present (#2176) 2020-01-09 08:48:35 -07:00
restic_restore_action_test.go Add support for private registry with custom port in restic-helper image (#1999) 2019-12-04 08:01:39 -08:00
restore.go Wait for CRDs to be ready before restoring CRs (#1937) 2020-01-30 09:19:13 -08:00
restore_test.go Add error return to pvRenamer func (#2138) 2019-12-17 10:23:58 -08:00
result.go move RestoreResult from api to pkg/restore, rename to Result 2019-04-16 12:57:02 -06:00
rolebinding_action.go Restore action for cluster/namespace role bindings (#1974) 2019-10-21 15:11:26 -06:00
rolebinding_action_test.go Restore action for cluster/namespace role bindings (#1974) 2019-10-21 15:11:26 -06:00
service_account_action.go Updates for org move to vmware-tanzu (#1920) 2019-09-30 17:26:56 -04:00
service_account_action_test.go Updates for org move to vmware-tanzu (#1920) 2019-09-30 17:26:56 -04:00
service_action.go Updates for org move to vmware-tanzu (#1920) 2019-09-30 17:26:56 -04:00
service_action_test.go Updates for org move to vmware-tanzu (#1920) 2019-09-30 17:26:56 -04:00