make cluster-dev in the weave-gitops-enterprise fails to deploy the mccp chart with this error:
chart-mccp-c… │ [manager] 1.6728194683198395e+09 ERROR controller-runtime.source if kind is a CRD, it should be installed before calling Start {"kind": "ClusterBootstrapConfig.capi.weave.works", "error": "no matches for kind \"ClusterBootstrapConfig\" in version \"capi.weave.works/v1alpha2\""}
If I'm not mistaken this happens because on main of cluster-bootstrap-controller the version the controller uses is v1alpha2 while the mccp chart still installs v1alpha1.
What happens?
make cluster-dev
in the weave-gitops-enterprise fails to deploy the mccp chart with this error:If I'm not mistaken this happens because on main of cluster-bootstrap-controller the version the controller uses is v1alpha2 while the mccp chart still installs v1alpha1.
This doesn't happen on released versions because mccp's values.yaml still pulls in v0.3.0 of the bootstrap-controller image (even though v0.4.0 has released back in September 🤔).
Who is affected?
Workaround
Checking out the
v0.3.0
tag instead ofmain
in the cluster-bootstrap-controller clone fixes this because that version doesn't have the v1alpha2 API.