Minikube unable to find apiserver.authentication-token-webhook-config-file #9430
Labels
kind/support
Categorizes issue or PR as a support question.
triage/needs-information
Indicates an issue needs more information in order to work on it.
Minikube api server doesn't find a mounted config file for external authentication and authorization server.
I'm trying to update a sample about external webhook au/az but even if i mount files into the minikube, the api server canfind those files.
I can update the files but to repro, use authn.yaml and authz.yaml plus certificates
in a foler local
$ tree . └── webhook ├── authn.yaml ├── authz.yaml ├── webhook_ca.crt ├── webhook_plugin.crt └── webhook_plugin.key
then start minikube
$ minikube start \ --driver=docker \ --mount \ --mount-string=`pwd`/webhook:/webhook \ --extra-config apiserver.authentication-token-webhook-config-file=/webhook/authn.yaml \ --extra-config apiserver.authorization-mode=Webhook \ --extra-config apiserver.authorization-webhook-config-file=/webhook/authz.yaml
i can confirm the files are mounted into minikube
but the api server can't find them
minikube startup: https://gist.github.com/salrashid123/4f1da7cc5310b450e524149f517a8ae8
apiServer logs show:
just fyi, #8661
The text was updated successfully, but these errors were encountered: