kubernetes/pkg/util
Justin Santa Barbara efdd03a6a9 Don't assume we always SSH as the current user
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
2015-06-20 18:18:38 -04:00
..
config
errors
exec
fielderrors
flushwriter
httpstream
iptables Export GetIptablesVersion utility in util/iptables 2015-06-12 17:13:40 -04:00
mount Fixed formatting of error message 2015-06-19 11:21:57 -04:00
node Use Node IP Address instead of Node.Name in minion.ResourceLocation. 2015-06-08 16:58:00 -07:00
proxy Update the URL-rewriting logic to make minimal modifications. 2015-06-16 14:15:11 -07:00
slice
strategicpatch Fixed pointers bug in PATCH verb in the API 2015-06-16 13:31:49 -07:00
wait e2e test for addon update 2015-06-15 17:37:24 +02:00
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 Warn for every _ flag user or cmd defined 2015-05-27 11:23:52 +02:00
hash.go
hash_test.go
http.go
list.go
list_test.go
logs.go
net.go
net_test.go
pflag_import.go Warn for every _ flag user or cmd defined 2015-05-27 11:23:52 +02:00
port_range.go Add util.PortRange, so that a port range can be a flag. Format: lo-hi 2015-05-16 15:52:57 -04:00
port_range_test.go Add util.PortRange, so that a port range can be a flag. Format: lo-hi 2015-05-16 15:52:57 -04:00
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 Don't assume we always SSH as the current user 2015-06-20 18:18:38 -04:00
ssh_test.go Don't assume we always SSH as the current user 2015-06-20 18:18:38 -04:00
string_flag.go
template.go
template_test.go
throttle.go
throttle_test.go
time.go
time_test.go
trace.go Add very simple tracing mechanism for easier debugging of slow requests. 2015-05-26 16:17:18 +02:00
util.go Make sshproxy use a hostmount on master PD (don't spam sshKeys on upgrade/reboot). 2015-06-05 15:03:03 -07:00
util_test.go
uuid.go
validation.go Add test case for qname validation, fix impl 2015-05-15 14:45:36 -07:00
validation_test.go Add test case for qname validation, fix impl 2015-05-15 14:45:36 -07:00