Update OIDC documentation.

Update OIDC documentation to include extra information about `--oidc-issuer-url` flag.
pull/8809/head
Sedat Gokcen 2020-07-23 13:07:15 +02:00 committed by GitHub
parent 773e1f3366
commit de65edffd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,8 @@ minikube start \
--extra-config=apiserver.oidc-client-id=kubernetes-local
```
Note that as stated in the Kubernetes [documentation](https://kubernetes.io/docs/reference/access-authn-authz/authentication/#configuring-the-api-server), for `--extra-config=apiserver.oidc-issuer-url` flag, only URLs which use the `https://` scheme are accepted. Otherwise `kube-apiserver` will not start.
## Configuring kubectl
You can use the kubectl `oidc` authenticator to create a kubeconfig as shown in the Kubernetes docs: <https://kubernetes.io/docs/reference/access-authn-authz/authentication/#option-1-oidc-authenticator>