* Added a godep-update-k8s script for upgrading.
$ KUBE_VERSION ./hack/godeps/godep-update-k8s.sh
* Added client-go version ldflags to localkube and minikube. The
version package is now split in both kubernetes and client-go, so we
need to supply both ldflags.
* Change cross builds to use BUILD_IN_DOCKER
* Add a patch for kube-proxy
The setup of kube-proxy recently changed, making the registering of the
component config a fatal error instead of a warning. This patch
reverts it to be a warning, which is a no-op for us anyways since we
don't supply a config file.
Kubernetes vendors these repos directly from the staging directory even
though they now have their own repositories on github. We should use
the code from the staging/ directory since it is guaranteed to be
compatible with the version of kube we are vendoring.
Reference: https://github.com/kubernetes/kubernetes/pull/44771
Fixes https://github.com/kubernetes/minikube/issues/1252
TPRs are incorrectly coupled with the RestMapper right now. The real
solution is for TPRs to not register themselves with the RestMapper.
This is a short term patch for minikube until the work is done
upstream. On start/stop, the namespace controller and the garbage
collector controller both call this code and panic since TPRs have
registered themselves with enabled versions but have no group metadata.
* We should be calling the hack/godep-restore script in kubernetes
instead of the normal godep restore ./...
* There was a typo in the case where a user didn't already have the
kubernetes repo cloned.