by jc_sec on 3/13/18, 8:17 PM with 4 comments
by terom on 3/14/18, 9:54 AM
$ curl -vk -X POST https://...:10250/exec/test
...
< HTTP/1.1 403 Forbidden
...
Forbidden (user=system:anonymous, verb=create, resource=nodes, subresource=proxy)
OTOH some endpoints on the `--read-only-port=10255` API are completely open for unauthenticated requests... that leaks all the pod metadata/spec/status information: $ curl http://...:10255/pods
{"kind":"PodList","apiVersion":"v1","metadata":{},"items":[{"metadata":{"name":"kube-proxy-knfqg","generateName":"kube-proxy-","namespace":"kube-system", ...}
Not what I expected, and the `--authorization-mode=AlwaysAllow` default seems like a very bad idea :/by alpb on 3/13/18, 8:33 PM