k8s-pixy-auth
k8s-pixy-auth copied to clipboard
suggested minikube setup for Auth0 does not work with k8s >= 1.14
Description
minikube with k8s >= 1.14 does not pickup extra-config for apiserver and the suggestion here https://github.com/auth0/k8s-pixy-auth/blob/master/docs/Auth0Setup.md#kubernetes-setup no longer works
see https://github.com/kubernetes/minikube/issues/8661 and https://github.com/kubernetes/minikube/issues/6543#issuecomment-583339122
Reproduction
- Follow https://github.com/auth0/k8s-pixy-auth/blob/master/docs/Auth0Setup.md
- Try
kubectl get nodes
suggested at the end of the steps and you will get the error below:You must be logged in to the server (Unauthorized)
and in apiserver logs following is seen:Unable to authenticate the request due to an error: [invalid bearer token]
Environment
k8s-pixy-auth commit: f86b051
Hey @jot-hub thanks for pointing this out! I haven't used this with minikube in a while so I'll take a look to see what we need to update to get it working.