"Reconciler error" err="failed to discover variables for ClusterClass builtin-generic-v3.#.#: failed to call DiscoverVariables for patch default: failed to call extension handler \"discover-variables.runtime-extension\": failed to get extension handler \"discover-variables.runtime-extension\" from registry: invalid operation: Get cannot be called on a registry not yet ready" controller="clusterclass"failed to list *v1alpha1.ClusterVirtualMachineImage: conversion webhook for vmoperator.vmware.com/v1alpha2, Kind=ClusterVirtualMachineImage failed: Post "https://vmware-system-vmop-webhook-service.vmware-system-vmop.svc:443/convert?timeout=30s": tls: failed to verify certificate: x509: certificate signed by unknown authorityThe runtime-extension-controller-manager fails to securely reach the Supervisor node, typically due to stuck, pending, or invalid internal certificates. This severs the registry connection required by the capi-controller-manager to discover variables and build the clusterclass.
Execute the following steps to forcefully refresh the controller certificates and restart the management pods:
rebootkubectl get deployments -A | grep runtime-extension-controller-manager
kubectl rollout restart deployment runtime-extension-controller-manager -n <INSERT_NAMESPACE>kubectl get pods -n <INSERT_NAMESPACE> | grep runtime-extension