linkerd2/test
Andrew Seigner 2528e3d62d
Make NET_ADMIN check a warning, add PSP check (#2958)
`linkerd check` validates whether PSP's exist, and if the caller has the
`NET_ADMIN` capability. This check was previously failing if `NET_ADMIN`
was not found, even in the case where the PSP admission controller was
not running. Related, `linkerd install` now includes a PSP, so
`linkerd check` should also validate that the caller can create PSP's.

Modify the `NET_ADMIN` check to warn, but not fail, if PSP's are found
but the caller does not have `NET_ADMIN`. Update the warning message to
mention that this is only a problem if the PSP admission controller is
running (and will only be a problem during injection, since #2920
handles control plane installation by adding its own PSP).

Also introduce a check to validate the caller can create PSP's.

Fixes #2884, #2849

Signed-off-by: Andrew Seigner <siggy@buoyant.io>
2019-06-20 17:58:26 +02:00
..
egress Introduce inject integration tests (#2616) 2019-04-05 11:42:49 -07:00
get Move tap service into its own pod. (#2773) 2019-05-15 16:28:44 -05:00
inject Add `NET_RAW` capability to the proxy-init container (#2969) 2019-06-19 19:34:37 -07:00
routes Move tap service into its own pod. (#2773) 2019-05-15 16:28:44 -05:00
serviceprofiles Change the service profile assertion conditions (#2785) 2019-05-03 08:37:48 -07:00
stat Refactor destination service (#2786) 2019-06-04 15:01:16 -07:00
tap Support for resources opting-out of tap (#2807) 2019-05-10 14:17:23 -05:00
testdata Make NET_ADMIN check a warning, add PSP check (#2958) 2019-06-20 17:58:26 +02:00
install_test.go Increase the retry duration in the post-upgrade 'check' integration test (#2944) 2019-06-14 12:23:18 -07:00