k3s/test
k8s-merge-robot af71fa72e7 Merge pull request #23574 from deads2k/add-extra
Automatic merge from submit-queue

add user.Info.GetExtra

I found myself wanting this field (or something like it), when trying to plumb the information about which scopes a particular token has.

Only the token authenticators have that information and I don't want tokens to leak past the authenticator.  I thought about extending the `authenticator.Token` interface to include scopes (`[]string`), but that felt a little specific for what I wanted to do.  I came up with this as an alternative.

It allows the token authenticator to fill in the information and authorizers already get handed the `user.Info`.  It means that implementors can choose to tie the layers together if they wish, using whatever data they think is best.  

@kubernetes/kube-iam
2016-04-26 21:14:53 -07:00
..
component/scheduler/perf Add RC and container pors to scheduler benchmark 2016-04-20 15:10:57 +02:00
e2e e2e: add a dummy environment variable in the service tests 2016-04-26 16:25:26 -07:00
e2e_node Track image storage usage for docker containers 2016-04-25 16:00:34 -07:00
fixtures/pkg/kubectl/cmd/apply
images Add Makefile for iperf 2016-04-13 14:28:33 -07:00
integration Merge pull request #23574 from deads2k/add-extra 2016-04-26 21:14:53 -07:00
kubemark Add Services to Load test 2016-04-21 22:00:26 +02:00
soak Update test/e2e for test/e2e/framework refactoring 2016-04-13 10:50:17 -07:00
OWNERS Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00