Remove API references to v1beta1 CRD API. Previously the operator
installed the CRD itself, but with 1.22 it's more common to install
the CRD separately (since the schema is fully included in the CRD
definition).
Generate the CRD manifest using controller-gen.
This has been successfully tested in the two main upgrade / install paths:
Upgrading on a 1.21 cluster that had the previous CRD version installed. Steps to upgrade were to 1) apply the new CRD definition, and 2) upgrade the operator.
Installing from scratch on a 1.22 cluster. Steps were to simply apply bundle.yaml.
A separate PR will update the docs. Then we'll cut a release so that users don't have to install/apply the operator from the main branch.
controller-gen
.This has been successfully tested in the two main upgrade / install paths:
bundle.yaml
.A separate PR will update the docs. Then we'll cut a release so that users don't have to install/apply the operator from the main branch.
Fixes #323.