Upgrade controller-runtime to v0.9.0 & make envtest compatible
We are currently running v0.7.2
of controller-runtime
that is dependent of Kubernetes version 1.20.7
. Our upgraded clusters now run 1.21.x
and to have envtest environment with 1.21.x
, we need to upgrade controller-runtime
to v0.9.0
for the same.
There were significant refactoring changes to envtest
in controller-runtime
v.0.9.0
https://github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.9.0 and needs some refactoring on our existing (already scaffolded) operator.