linkerd2/pkg
Andrew Seigner 2e323e7e9e
Fix Service Profile CRD check to handle k8s errors (#2781)
`ServiceProfilesAccess()`, called by control plane components at
startup, would fail if it encountered an `ErrGroupDiscoveryFailed` from
a GroupVersion request. This error is mostly innocuous, as it returns an
error if any GroupVersion fails. `ServiceProfilesAccess()` only needs to
validate ServiceProfiles are available.

Modify `ServiceProfilesAccess()` to specifically request the
ServiceProfile GroupVersion. Also add Discovery object
(`APIResourceList`) support to `NewFakeClientSets`.

Fixes #2780

Signed-off-by: Andrew Seigner <siggy@buoyant.io>
2019-05-03 19:51:39 +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 Fix check/dashboard failing from one pod when HA (#2764) 2019-05-03 18:42:21 +02:00
identity proxy-identity: Set a CommonName on CSRs (#2626) 2019-04-03 13:54:50 -07:00
inject Define default resource spec for proxy-init init container (#2763) 2019-04-29 11:41:05 -07:00
k8s Fix Service Profile CRD check to handle k8s errors (#2781) 2019-05-03 19:51:39 +02:00
profiles Authorization-aware control-plane components (#2349) 2019-02-26 11:54:52 -08: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 lint: Enable unparam (#2369) 2019-02-27 10:34:02 -08:00