kubernetes/pkg
Kubernetes Submit Queue 4fbbc746a0 Merge pull request #35161 from mtaufen/mike-klet-cmount-node-e2e
Automatic merge from submit-queue

e2e node plumbing and bundling for GCI mounter

**Note:** The code in this PR only bundles the mounter and modifies `--mounter-path` if it can find `cluster/gce/gci/mounter` in the K8s source dir when building the test bundle.

This bundles the mounter script for GCI with the node e2e tests and allows the `--mounter-path` to be passed to the Kubelet via the node test framework. The node test runner will detect when we are running on a remote GCI node and add the appropriate `--mounter-path` to the `testArgs`. 

It also includes a simple node test that mounts a tmpfs volume. This will exercise the Kubelet's mounter code path. 

**ITEM OF NOTE:** To get the k8s root dir (in order to copy the mount script into the tarball), I changed `getK8sRootDir` -> `GetK8sRootDir` in `test/e2e_node/build/build.go`. Based on the comment above that function (and the fact that it was private to begin with), I'm not sure this is the best way to do things:
```
// TODO: Dedup / merge this with comparable utilities in e2e/util.go
```
On the other hand, the `e2e/util.go` file mentioned in that comment doesn't exist anymore. This should be resolved before this PR is merged.
2016-10-24 14:22:57 -07:00
..
admission autogenerated 2016-10-21 17:32:32 -07:00
api fix tests by declaring testdata 2016-10-21 17:32:32 -07:00
apimachinery autogenerated 2016-10-21 17:32:32 -07:00
apis autogenerated 2016-10-21 17:32:32 -07:00
apiserver Update bazel 2016-10-22 02:50:33 -07:00
auth fix tests by declaring testdata 2016-10-21 17:32:32 -07:00
capabilities autogenerated 2016-10-21 17:32:32 -07:00
client Merge pull request #35322 from deads2k/controller-14-panic 2016-10-24 13:38:39 -07:00
cloudprovider autogenerated 2016-10-21 17:32:32 -07:00
controller autogenerated 2016-10-21 17:32:32 -07:00
conversion autogenerated 2016-10-21 17:32:32 -07:00
credentialprovider autogenerated 2016-10-21 17:32:32 -07:00
dns Merge pull request #35246 from bowei/kubedns-logging 2016-10-22 23:15:25 -07:00
fieldpath autogenerated 2016-10-21 17:32:32 -07:00
fields autogenerated 2016-10-21 17:32:32 -07:00
generated autogenerated 2016-10-21 17:32:32 -07:00
genericapiserver Update bazel 2016-10-22 14:31:56 +02:00
healthz autogenerated 2016-10-21 17:32:32 -07:00
httplog autogenerated 2016-10-21 17:32:32 -07:00
hyperkube autogenerated 2016-10-21 17:32:32 -07:00
kubectl fix tests by declaring testdata 2016-10-21 17:32:32 -07:00
kubelet Merge pull request #35018 from Random-Liu/add-kuberuntime-unit-test 2016-10-24 13:38:29 -07:00
kubemark Replace client with clientset in code 2016-10-23 22:00:35 +02:00
labels autogenerated 2016-10-21 17:32:32 -07:00
master Update bazel 2016-10-22 14:31:56 +02:00
metrics Replace client with clientset in code 2016-10-23 22:00:35 +02:00
probe autogenerated 2016-10-21 17:32:32 -07:00
proxy autogenerated 2016-10-21 17:32:32 -07:00
quota autogenerated 2016-10-21 17:32:32 -07:00
registry autogenerated 2016-10-21 17:32:32 -07:00
routes autogenerated 2016-10-21 17:32:32 -07:00
runtime autogenerated 2016-10-21 17:32:32 -07:00
security fix tests by declaring testdata 2016-10-21 17:32:32 -07:00
securitycontext autogenerated 2016-10-21 17:32:32 -07:00
selection autogenerated 2016-10-21 17:32:32 -07:00
serviceaccount autogenerated 2016-10-21 17:32:32 -07:00
ssh autogenerated 2016-10-21 17:32:32 -07:00
storage autogenerated 2016-10-21 17:32:32 -07:00
types autogenerated 2016-10-21 17:32:32 -07:00
util Include mount command in Kubelet mounter output 2016-10-24 05:50:24 -07:00
version autogenerated 2016-10-21 17:32:32 -07:00
volume autogenerated 2016-10-21 17:32:32 -07:00
watch autogenerated 2016-10-21 17:32:32 -07:00
OWNERS Remove bgrant from pkg/OWNERS and pkg/kubectl/OWNERS since he has plenty to do. 2016-06-16 08:21:27 -07:00