[tokenfile]

- the groups field has been changed to a single column option as requested in https://github.com/kubernetes/kubernetes/pull/15704

[docs]
- updated the docs related the the tokefile along with an example
This commit is contained in:
Rohith
2015-10-20 22:36:35 +01:00
parent c8dd1200c4
commit ee691aa1ab
3 changed files with 25 additions and 5 deletions

View File

@@ -47,7 +47,11 @@ be changed without restarting apiserver.
The token file format is implemented in `plugin/pkg/auth/authenticator/token/tokenfile/...`
and is a csv file with a minimum of 3 columns: token, user name, user uid, followed by
optional group names.
optional group names. Note, if you have more than one group the column must be double quoted e.g.
```csv
token,user,uid,"group1,group2,group3"
```
When using token authentication from an http client the apiserver expects an `Authorization`
header with a value of `Bearer SOMETOKEN`.