This works on gcloud (where the user is dynamically created by the tool), but doesn't hold on other clouds (e.g. AWS). The function in pkg/util now takes a user arg, and it is called only from the e2e tests, which now check for env-var KUBE_SSH_USER, and then fall back to the existing behaviour of env-var USER. I am using this from Jenkins by directly setting the env-var: export KUBE_SSH_USER=jenkins ... hack/jenkins/e2e.sh |
||
|---|---|---|
| .. | ||
| config | ||
| errors | ||
| exec | ||
| fielderrors | ||
| flushwriter | ||
| httpstream | ||
| iptables | ||
| mount | ||
| node | ||
| proxy | ||
| slice | ||
| strategicpatch | ||
| wait | ||
| workqueue | ||
| yaml | ||
| bool_flag.go | ||
| cache.go | ||
| cache_test.go | ||
| clock.go | ||
| configuration_map.go | ||
| crypto.go | ||
| diff.go | ||
| doc.go | ||
| escape.go | ||
| fake_handler.go | ||
| fake_handler_test.go | ||
| flags.go | ||
| hash.go | ||
| hash_test.go | ||
| http.go | ||
| list.go | ||
| list_test.go | ||
| logs.go | ||
| net.go | ||
| net_test.go | ||
| pflag_import.go | ||
| port_range.go | ||
| port_range_test.go | ||
| port_split.go | ||
| port_split_test.go | ||
| resource_container_linux.go | ||
| resource_container_unsupported.go | ||
| runner.go | ||
| runner_test.go | ||
| set.go | ||
| set_test.go | ||
| ssh.go | ||
| ssh_test.go | ||
| string_flag.go | ||
| template.go | ||
| template_test.go | ||
| throttle.go | ||
| throttle_test.go | ||
| time.go | ||
| time_test.go | ||
| trace.go | ||
| util.go | ||
| util_test.go | ||
| uuid.go | ||
| validation.go | ||
| validation_test.go | ||