I have created a hashicorp vault deployment and configured kubernetes auth. The vault container calls kubernetes api internally from the pod to do k8s authentication, and that c
Your login request is being sent to the tokenreview
endpoint on port 80. I think this is because your kubernetes_host
specifies a http
URL. The 500 response is because it's not listening on port 80, but on 443 instead (as you can see in your service list output).
Try changing to https
when configuring the auth, i.e.
payload.json
{
"kubernetes_host": "https://kubernetes",
"kubernetes_ca_cert":
}