diff --git a/control-plane-operator/controllers/hostedcontrolplane/cvo/reconcile.go b/control-plane-operator/controllers/hostedcontrolplane/cvo/reconcile.go index 5301f13abc..cbb48e5778 100644 --- a/control-plane-operator/controllers/hostedcontrolplane/cvo/reconcile.go +++ b/control-plane-operator/controllers/hostedcontrolplane/cvo/reconcile.go @@ -312,6 +312,10 @@ func cvoBootstrapScript(clusterID string) string { payloadDir := volumeMounts.Path(cvoContainerBootstrap().Name, cvoVolumePayload().Name) cv := &configv1.ClusterVersion{ + TypeMeta: metav1.TypeMeta{ + Kind: "ClusterVersion", + APIVersion: "config.openshift.io/v1", + }, ObjectMeta: metav1.ObjectMeta{ Name: "version", },