This repository was archived by the owner on Jun 26, 2023. It is now read-only.

Description
See controller-runtime bug kubernetes-sigs/controller-runtime#1154
Currently we work around this bug by
- Having a script (
hack/crd_patches/ensure-all-served-for-envtest.sh) to generate a separate copy of the CRDs with all versions set to served in manifests/envtest directory;
- Updating the
CRDDirectoryPaths in internal/reconcilers/suite_test.go to manifests/envtest.
After the bug is fixed in controller-runtime, we should remove the script and set CRDDirectoryPaths back to config/crd/bases.