mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-03-06 07:30:42 -05:00
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 |
||
|---|---|---|
| .. | ||
| framework | ||
| auth_test.go | ||
| benchmark-controller.json | ||
| client_test.go | ||
| configmap_test.go | ||
| doc.go | ||
| dynamic_client_test.go | ||
| etcd_tools_test.go | ||
| extender_test.go | ||
| kubectl_test.go | ||
| master_benchmark_test.go | ||
| master_test.go | ||
| metrics_test.go | ||
| openshift_test.go | ||
| persistent_volumes_test.go | ||
| pods.go | ||
| quota_test.go | ||
| scheduler_test.go | ||
| secret_test.go | ||
| service_account_test.go | ||
| utils.go | ||