• Kubernetes Submit Queue's avatar
    Merge pull request #39074 from Random-Liu/node-e2e-set-user · 1955ed61
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    Node E2E: Set user with `--ssh-user` flag when running remote node e2e.
    
    This PR unblocks https://github.com/kubernetes/test-infra/issues/1348.
    
    In our test environment, we must login test instance as user `jenkins` because of the service account. Node e2e is always using the default user on the host, which works fine till now, because it is always run as `jenkins` in our test environment.
    
    However, now we moved the test runner into a docker container, inside the container user is `root` by default, which will cause error:
    ```
    Permission denied (publickey)
    ```
    
    This PR added a flag `--ssh-user` to explicitly specify the user used to ssh into test instance. The dockerized test runner can set user to `jenkins` with this flag.
    
    @krzyzacy  @ixdy
    1955ed61
Name
Last commit
Last update
..
benchmark Loading commit data...
conformance Loading commit data...
cri_validation Loading commit data...
docker_validation Loading commit data...
copy-e2e-image.sh Loading commit data...
coreos-init.json Loading commit data...
e2e-node-jenkins.sh Loading commit data...
gci-init.yaml Loading commit data...
image-config.yaml Loading commit data...
jenkins-ci.properties Loading commit data...
jenkins-flaky.properties Loading commit data...
jenkins-pull.properties Loading commit data...
jenkins-serial.properties Loading commit data...
template.properties Loading commit data...