Commit Graph

4 Commits

Author SHA1 Message Date
Mike Danese
3aa59f7f30 generated: run refactor 2020-02-07 18:16:47 -08:00
Adelina Tuvenie
3ba4c686a4 Check for terminated reason appropriate for containerD and dockershim
Dockershim and containerD return different reasons for container not
starting. This test should check for both in order to pass on both
runtimes.
2019-11-07 13:34:27 +02:00
carlory
5bbedd39c0 use log funcs of core framework in the auth, kubectl and windows pkg 2019-09-15 21:39:54 +08:00
Claudiu Belu
dd2f11d722 tests: Adds RunAsUserName tests
Currently, Kubernetes supports running as different user (RunAsUser),
but it only supports UIDs, which does not work on Windows.

Which is why the field SecurityContext.WindowsOptions.RunAsUserName
was introduced, to allow us to run the container entrypoints with
a different user than its default one.

This commit adds E2E tests which will validate this behaviour. The
tests are Windows only, and they will be skipped if --node-os-distro
is not "windows".
2019-08-23 09:31:35 -07:00