Azure Arc-Enabled Kubernetes kube-aad-proxy pod fails with mount error

Ryan Taylor 5 Reputation points
2024-01-31T03:29:11.0233333+00:00

I am experiencing an issue where the kube-aad-proxy pod moves to CrashLoopBackOff state after repeated Failed starts. The problem is caused by the pod's inability to find the secret to mount the volume. I have read every article and tried to delete and re-create the pod multiple times, but the issue persists. I have even tried different versions of helm without success. The only warning in 'kubectl describe pod kube-aad-proxy-6f9ccb597d-2nrn6 -n azure-arc' is related to a mount, which requires a tls key and crt. I verified that the secret exists. The warning message is as follows:

MountVolume.SetUp failed for volume "kube-aad-proxy-tls" : secret "kube-aad-proxy-certificate" not found
Azure Arc
Azure Arc
A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
322 questions
{count} votes