teleport/lib/service
Trent Clarke 1d37ede936
Do not exit teleport when unable to enumerate k8s cluster (#7523)
Teleport will fail to start when when a k8s cluster is unavailable when
using the kubeconfig in a `kubernetes_service` configuration. This means
that a single missing cluster can disrupt _all_ of the configured
clusters, even if the others are online.

This change makes failing the cluster credential enumeration a
per-k8s-cluster warning, rather than a stop-the-world error.

It also expands the testing shims inside the k8s proxy to allow more
sophisticated mocked scenarios, in order to test the above.

See-Also: #7215
2021-08-10 11:04:26 +10:00
..
acme.go rollback - Upgrade api version. (#7751) 2021-07-30 15:34:19 -07:00
cfg.go Do not exit teleport when unable to enumerate k8s cluster (#7523) 2021-08-10 11:04:26 +10:00
cfg_test.go Automatically download Cloud SQL root certs (#7397) 2021-06-24 09:27:52 -07:00
connect.go rollback - Upgrade api version. (#7751) 2021-07-30 15:34:19 -07:00
db.go Decouple database server from database (#7771) 2021-08-05 01:50:21 -07:00
info.go Better signal handling and pools for gzip. 2018-02-19 10:57:26 -08:00
kubernetes.go Do not exit teleport when unable to enumerate k8s cluster (#7523) 2021-08-10 11:04:26 +10:00
listeners.go mtls metrics service (#7079) 2021-07-28 19:37:28 -07:00
service.go Do not exit teleport when unable to enumerate k8s cluster (#7523) 2021-08-10 11:04:26 +10:00
service_test.go rollback - Upgrade api version. (#7751) 2021-07-30 15:34:19 -07:00
signals.go flaky tests: consistent logging (#4849) 2020-12-07 15:35:15 +01:00
state.go lazy init of prometheus collectors (#6561) 2021-05-19 11:53:36 -04:00
state_test.go RFD 1: user testify/require instead of testify/assert 2020-10-16 00:15:25 +00:00
supervisor.go Introduce SessionRecordingConfig extracting fields from ClusterConfig (#6708) 2021-05-19 12:01:37 -07:00