k3s/test/utils
Filipe Brandenburger 46a83c2883 Use ipc-utils container in HostIPC tests.
This ensures the `ipcs` command from util-linux will be used, which
succeeds when Docker is running with SELinux enabled (while the one from
busybox fails.)

Tested: On a host with Docker running with SELinux enabled:

  $ make test-e2e-node REMOTE=true FOCUS="host IPC"

  • [SLOW TEST:17.272 seconds] (passed)
  [k8s.io] Security Context
    when creating a pod in the host IPC namespace
      should show the shared memory ID in the host IPC containers

  • [SLOW TEST:20.419 seconds] (passed)
  [k8s.io] Security Context
    when creating a pod in the host IPC namespace
      should not show the shared memory ID in the non-hostIPC containers

  Ran 2 of 257 Specs in 43.934 seconds
  SUCCESS! -- 2 Passed | 0 Failed | 0 Pending | 255 Skipped
2018-01-25 11:09:16 -08:00
..
image Use ipc-utils container in HostIPC tests. 2018-01-25 11:09:16 -08:00
junit update BUILD files 2017-10-15 18:18:13 -07:00
BUILD the changes introduced in this commit plumbs in the generic scaler into kubectl. 2018-01-12 09:21:18 +01:00
conditions.go fix-todo 2017-09-25 15:42:21 +08:00
density_utils.go use core client with explicit version globally 2017-10-27 15:48:32 +08:00
deployment.go use extensions client with explicit version 2017-11-22 21:18:14 +08:00
pod_store.go use core client with explicit version globally 2017-10-27 15:48:32 +08:00
replicaset.go use extensions client with explicit version 2017-11-22 21:18:14 +08:00
runners.go the changes introduced in this commit plumbs in the generic scaler into kubectl. 2018-01-12 09:21:18 +01:00
tmpdir.go