Files
kubernetes/hack
Kubernetes Submit Queue 6c5a187171 Merge pull request #33378 from deads2k/rbac-10-allow-token
Automatic merge from submit-queue

add anytoken authenticator

Adds `--insecure-allow-any-token` as a flag to the API server to create an authenticator that will accept any bearer token and transform it into a user by parsing it out as `username/group1,group2,...`.

This gives an easy way to identify as a user and check permissions:
```bash
ALLOW_ANY_TOKEN=true hack/local-up-cluster.sh 
kubectl config set-cluster local-kube --server=https://localhost:6443 --insecure-skip-tls-verify=true
kubectl config set-credentials david --token=david/group1
kubectl config set-context local --cluster=local-kube --user=david
kubectl config use-context local
```

@kubernetes/sig-auth
2016-09-29 12:32:08 -07:00
..
2016-09-28 10:53:30 -07:00
2016-09-28 10:58:09 -04:00
2016-07-12 21:52:54 -07:00
2016-07-12 21:52:00 -07:00
2016-09-27 16:22:23 -07:00
2016-09-22 13:41:27 -07:00
2016-08-02 10:27:29 -04:00
2016-07-12 21:52:00 -07:00
2016-07-12 21:52:00 -07:00