Commit Graph

2 Commits (38c3bdfa454a773efa72b7e7bfefd80e0b06aeba)

Author SHA1 Message Date
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
Brendan Burns 2240486110 Add an initial test for SSH. 2015-06-08 20:53:05 -07:00