HoustonPutman commented on issue #277:
URL: https://github.com/apache/solr-operator/issues/277#issuecomment-922990955


   So we do use KinD for our integration Smoke Tests, and will definitely use 
it in the future whenever we introduce integration tests (#134). However the 
EnvTest setup is used for unit tests for Kubebuilder projects. It's not an 
actual kubernetes cluster, like DockerDesktop or KinD. It's a custom stripped 
down version of the API Server.
   
   With the Upgrade to Kubebuilder 3, we will actually be able to test with any 
version of the EnvTest Kubernetes version (So we will be able to test with 
multiple versions, just like KinD), but for now we are stuck with a very old 
version that shipped with Kubebuilder 2. I believe after the upgrade, the unit 
tests will actually be able to work with a real Kubernetes cluster as well (but 
our unit tests do not support this currently.), if you want to run the unit 
tests with your KinD cluster.
   
   The PR for the Kubebuilder upgrade is far to big to parse (#321), but good 
progress is being made. And hopefully we will be able to cut a v0.5.0 fairly 
shortly (maybe within a month or month and a half) to support the new 
Kubernetes versions.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to