After updating the vSphere TLS thumbprint using tanzu credentials plugin as mentioned in the doc Update Cluster Credentials, you would notice vsphere-csi-controller pods in crashloop state
TKGm 2.3.x
TKGm 2.4.x
TKGm 2.5.x
Updating the thumbprint doesn't update vspherecsiconfig CR for the classy cluster due to which the csi pods doesn't come up
kubectl get vspherecluster -A -o yaml | grep thumbprintkubectl -n vmware-system-csi logs -l app=vsphere-csi-controller -c vsphere-csi-controller
kubectl -n tkg-system get apps mgmt-cluster-vsphere-csiYou can see the same status for workload clusters.tanzu mc credentials update --vsphere-thumbprint 55:94:20:<Snip>:1A:51:9A:0F:98 --cascading -v 9
kubectl get pkgi -Akubectl delete pkgi vsphere-csi -n tkg-systemkubectl get pkgi -Akubectl -n vmware-system-csi get pokubectl edit vspherecsiconfigs.csi.tanzu.vmware.com -n tkg-system mgmt-clusterkubectl edit vspherecsiconfigs.csi.tanzu.vmware.com testcluster
kubectl get pkgi -Akubectl delete pkgi testcluster-vsphere-csi -n tkg-system packageinstall.packaging.carvel.dev "testcluster-vsphere-csi" deletedkubectl get pkgi -Akubectl get pkgi mgmt-cluster-vsphere-csi -n tkg-systemkubectl delete pkgi mgmt-cluster-vsphere-csi -n tkg-system packageinstall.packaging.carvel.dev "mgmt-cluster-vsphere-csi" deletedkubectl get pkgi mgmt-cluster-vsphere-csi -n tkg-systemkubectl -n vmware-system-csi get po