linkerd2/pkg
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
..
addr lint: Enable scopelint (#2364) 2019-02-24 08:59:51 -08:00
admin Add profiling endpoint for all control-plane components (#2739) 2019-04-24 09:59:38 -07:00
config Web server updated to read the UUID from the linkerd-config ConfigMap. (#2603) 2019-04-08 12:56:00 -07:00
filesonly Enable lint check for comments (#2023) 2019-01-02 14:03:59 -08:00
flags Lessen klog for security (#2386) 2019-02-26 16:00:26 -08:00
healthcheck Make NET_ADMIN check a warning, add PSP check (#2958) 2019-06-20 17:58:26 +02:00
identity proxy-identity: Set a CommonName on CSRs (#2626) 2019-04-03 13:54:50 -07:00
inject Add `NET_RAW` capability to the proxy-init container (#2969) 2019-06-19 19:34:37 -07:00
k8s If HA, set the webhooks failure policy to 'Fail' (#2906) 2019-06-11 13:11:54 -05:00
profiles Refactor destination service (#2786) 2019-06-04 15:01:16 -07:00
prometheus Instrument k8s clients (#2243) 2019-02-18 09:10:02 -08:00
tls install: Introduce the Identity controller (#2526) 2019-03-19 17:04:11 -07:00
util Add go linting to CI config (#2018) 2018-12-20 15:33:09 -08:00
version Split proxy-init into separate repo (#2824) 2019-06-03 16:24:05 -05:00