k3s/plugin
Kubernetes Submit Queue be859b144d Merge pull request #30808 from smarterclayton/no_defaults
Automatic merge from submit-queue

ClientConfig should not default to http://localhost:8080

This changes clientcmd to skip the default cluster, but preserves the
behavior in kubectl. This prevents the possibility of an administrator
misconfiguration in kubelet or other server component from allowing a
third party who can bind to 8080 on that host from potentially
impersonating an API server and gaining root access.

@mikedanese @deads2k this removes the defaulting of http://localhost:8080 for server from everything except kubectl.



```release-note
Kubernetes server components using `kubeconfig` files no longer default to `http://localhost:8080`.  Administrators must specify a server value in their kubeconfig files.
```
2016-08-30 11:33:39 -07:00
..
cmd/kube-scheduler Add --feature-gates to kube-system components 2016-08-19 09:07:43 -07:00
pkg Merge pull request #30808 from smarterclayton/no_defaults 2016-08-30 11:33:39 -07:00
OWNERS Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00