Errors Related to CAPI Resources

FailedToIdentifyCAPIResources
Failed Condition Reason: kubeconfigRef points to the wrong secret
Verify the KommanderCluster
object of both your Essential and Enterprise clusters. The spec.kubeconfigRef.name
of each object should point to a valid kubeconfig
secret.
Download the referenced
kubeconfig
to your local machine:CODEkubectl get secret -n <WORKSPACE_NAMESPACE> <cluster_name>-kubeconfig -o jsonpath='{.data.value}' | base64 --decode > <cluster_name>-kubeconfig
Verify if the
kubeconfig
is valid:CODEkubectl get namespaces -A --kubeconfig <cluster_name>-kubeconfig
Verify the output of the previous command:
v1beta1/clusters.cluster.x-k8s.io
Essential cluster has more than one instance of D2iQ does not support converting Essential clusters that contain the Cluster API resources of more than one cluster.
Ensure your Essential cluster only contains its own CAPI resources and does not contain the CAPI resources of other clusters.