[ENHANCEMENT] Load KubeVirt relevant CRDs elegantly while running tests #26
Labels
area/test
help wanted
Extra attention is needed
kind/enhancement
Improve or augment existing functionality
In order to test the virtualmachine-controller's behavior, we brutally download the KubeVirt API repository and generate the CRD manifests in the
generate-kubevirt-crd
target and make it a dependency of thetest
target:That's because we need those KubeVirt CRD manifests to be loaded when setting up the test environment for testing the virtualmachine controller:
This could be done in a more elegant way. Currently, I'm not sure how, but there's a
CRD
field inenvtest.Environment
(godoc) that we can leverage (perhaps):The text was updated successfully, but these errors were encountered: