k3s/test
Kubernetes Submit Queue 4ac5f278c5 Merge pull request #38742 from timstclair/cri-exec-long
Automatic merge from submit-queue

[CRI] Don't include user data in CRI streaming redirect URLs

Fixes: https://github.com/kubernetes/kubernetes/issues/36187

Avoid userdata in the redirect URLs by caching the {Exec,Attach,PortForward}Requests with a unique token. When the redirect URL is created, the token is substituted for the request params. When the streaming server receives the token request, the token is used to fetch the actual request parameters out of the cache.

For additional security, the token is generated using the secure random function, is single use (i.e. the first request with the token consumes it), and has a short expiration time.

/cc @kubernetes/sig-node
2017-01-11 17:16:07 -08:00
..
e2e Merge pull request #38742 from timstclair/cri-exec-long 2017-01-11 17:16:07 -08:00
e2e_node start the apimachinery repo 2017-01-11 09:09:48 -05:00
fixtures Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
images start the apimachinery repo 2017-01-11 09:09:48 -05:00
integration mechanical repercussions 2017-01-11 15:20:36 -05:00
kubemark run-gcloud-compute-with-retries in kubemark handles resource already exists case 2017-01-06 23:21:15 +01:00
list Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
soak start the apimachinery repo 2017-01-11 09:09:48 -05:00
utils start the apimachinery repo 2017-01-11 09:09:48 -05:00
BUILD Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
OWNERS
test_owners.csv rename kubernetes-discovery to kube-aggregator 2017-01-10 12:27:42 -05:00