aws / amazon-eks-pod-identity-webhook

Amazon EKS Pod Identity Webhook
Apache License 2.0
605 stars 175 forks source link

Error "Invalid Bearer Token" Self Hosted Install On K8s 1.21 #126

Open twittyc opened 2 years ago

twittyc commented 2 years ago

When installing on K8s 1.21 we encounter errors in the API server log that state "Invalid Bearer Token". We followed the exact steps outlined in the self_hosted workflow. These steps work when deploying to version 1.19 of K8s. So there have been some behavior changes somewhere that are not documented in the self_hosted setup. Does anyone know what's changed between 1.19 and 1.21 that would affect pod identity? Thanks!

twittyc commented 2 years ago

I was able to perform the steps successfully on 1.20. So something changed between 1.20 and 1.21.

awcator commented 1 year ago

Facing the same problem in 1.21... I'll downgrade to 20 on my local setup. Hope it works edit: works