linkerd2/controller/api/public
Tarun Pothulapati 4c106e9c08
cli: make check return SkipError when there is no prometheus configured (#5150)
Fixes #5143

The availability of prometheus is useful for some calls in public-api
that the check uses. This change updates the ListPods in public-api
to still return the pods even when prometheus is not configured.

For a test that exclusively checks for prometheus metrics, we have a gate
which checks if a prometheus is configured and skips it othervise.

Signed-off-by: Tarun Pothulapati tarunpothulapati@outlook.com
2020-10-29 19:57:11 +05:30
..
testdata Push docker images to ghcr.io instead of gcr.io (#4953) 2020-09-10 15:16:24 -05:00
client.go Remove dependency of linkerd-config for control plane components (#4915) 2020-10-06 22:19:18 +05:30
client_test.go Upgrade generated protobuf files to v1.4.2 (#4673) 2020-06-26 09:36:48 -05:00
edges.go Expand 'linkerd edges' to work with TCP connections (#5040) 2020-10-12 09:14:39 -05:00
edges_test.go Upgrade generated protobuf files to v1.4.2 (#4673) 2020-06-26 09:36:48 -05:00
gateways.go Bump k8s client-go to v0.19.2 (#5002) 2020-09-28 12:45:18 -05:00
grpc_server.go cli: make check return SkipError when there is no prometheus configured (#5150) 2020-10-29 19:57:11 +05:30
grpc_server_test.go Remove dependency of linkerd-config for control plane components (#4915) 2020-10-06 22:19:18 +05:30
http_server.go Remove dependency of linkerd-config for control plane components (#4915) 2020-10-06 22:19:18 +05:30
http_server_test.go Remove dependency of linkerd-config for control plane components (#4915) 2020-10-06 22:19:18 +05:30
prometheus.go cli: make check return SkipError when there is no prometheus configured (#5150) 2020-10-29 19:57:11 +05:30
stat_summary.go Upgrade to client-go 0.17.4 and smi-sdk-go 0.3.0 (#4221) 2020-04-01 10:07:23 -07:00
stat_summary_test.go Add ARM64 Integration Test (#4897) 2020-08-28 10:38:40 -07:00
stream_client.go Introduce tap APIService, update `linkerd tap` (#3167) 2019-08-01 14:02:45 -07:00
test_helper.go Remove dependency of linkerd-config for control plane components (#4915) 2020-10-06 22:19:18 +05:30
top_routes.go Add kubectl-style label selectors (#4120) 2020-03-20 10:45:06 -05:00
top_routes_test.go Upgrade generated protobuf files to v1.4.2 (#4673) 2020-06-26 09:36:48 -05:00