kubectl get tcaclusteraddons -A shows multiple addons (such as istio, systemsettings, and tca-diagnosis-operator) continually in the configuring phase under the relevant namespace.TCA 3.1.1
TCP 5
management_cluster_name namespace, which has expired.To resolve this issue, apply the following workaround to replace the expired secret with the valid one from the tkg-system namespace:
Access the management cluster via SSH.
Execute the following command, replacing {management_cluster_name} with the actual name of your management cluster:
kubectl get secret {management_cluster_name}-kubeconfig -n tkg-system -o jsonpath='{.data.value}'kubectl patch secret {management_cluster_name}-kubeconfig -n {management_cluster_name} -p "{\"data\":{\"value\":\"$(cat -)\"}}"
Verify that the addons successfully transition from the "Configuring" state to the "Provisioned" state.
This issue will be permanently resolved in newer releases of TCA, where the addon manager will natively reference the auto-renewing kubeconfig located in the tkg-system namespace.