mirror of https://github.com/linkerd/linkerd2.git
`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> |
||
---|---|---|
.. | ||
testdata | ||
api.go | ||
authz.go | ||
authz_test.go | ||
fake.go | ||
fake_test.go | ||
k8s.go | ||
k8s_test.go | ||
kubectl.go | ||
kubectl_test.go | ||
labels.go | ||
labels_test.go | ||
portforward.go | ||
portforward_test.go | ||
version.go | ||
version_test.go |