teleport/lib
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
..
asciitable Fix CLI content spoofing through access request reason 2021-03-01 22:14:10 +01:00
auth Replicate locks to remote clusters (#7737) 2021-08-09 11:59:10 -07:00
backend fix memory backend mirror behavior 2021-08-06 17:46:12 -07:00
benchmark rollback - Upgrade api version. (#7751) 2021-07-30 15:34:19 -07:00
bpf rollback - Upgrade api version. (#7751) 2021-07-30 15:34:19 -07:00
cache Replicate locks to remote clusters (#7737) 2021-08-09 11:59:10 -07:00
cgroup Move all utils.InitLoggerForTests calls to TestMain 2021-02-23 18:04:55 -08:00
client ClusterConfig fallback (#7702) 2021-08-09 10:17:49 -07:00
config rollback - Upgrade api version. (#7751) 2021-07-30 15:34:19 -07:00
defaults rollback - Upgrade api version. (#7751) 2021-07-30 15:34:19 -07:00
events rollback - Upgrade api version. (#7751) 2021-07-30 15:34:19 -07:00
fixtures hsm: migrate CA storage schema (#7245) 2021-06-16 12:17:03 -05:00
fuzz Minor update to fuzzing README (#4889) 2020-11-18 11:56:01 -04:00
httplib Make CSP more strict (#7390) 2021-06-24 02:17:46 -04:00
jwt Use KeyStore instead of raw keys with CAs (#7615) 2021-08-03 10:13:08 -07:00
kube Do not exit teleport when unable to enumerate k8s cluster (#7523) 2021-08-10 11:04:26 +10:00
labels rollback - Upgrade api version. (#7751) 2021-07-30 15:34:19 -07:00
limiter Move all utils.InitLoggerForTests calls to TestMain 2021-02-23 18:04:55 -08:00
modules rollback - Upgrade api version. (#7751) 2021-07-30 15:34:19 -07:00
multiplexer Use web listener for web server (#7619) 2021-07-21 09:53:33 -07:00
pam add PAM environment with interpolation support 2021-03-30 18:23:38 +02:00
plugin Add "billing_information" RBAC resource (#5676) 2021-03-01 22:47:03 -05:00
restrictedsession rollback - Upgrade api version. (#7751) 2021-07-30 15:34:19 -07:00
reversetunnel Replicate locks to remote clusters (#7737) 2021-08-09 11:59:10 -07:00
secret Move all utils.InitLoggerForTests calls to TestMain 2021-02-23 18:04:55 -08:00
service Do not exit teleport when unable to enumerate k8s cluster (#7523) 2021-08-10 11:04:26 +10:00
services Replicate locks to remote clusters (#7737) 2021-08-09 11:59:10 -07:00
session rollback - Upgrade api version. (#7751) 2021-07-30 15:34:19 -07:00
shell Refactor lib/asciitable, lib/tlsca, lib/shell, lib/session and lib/config tests to not use gocheck 2021-02-23 18:30:06 +01:00
srv Replicate locks to remote clusters (#7737) 2021-08-09 11:59:10 -07:00
sshca
sshutils Use KeyStore instead of raw keys with CAs (#7615) 2021-08-03 10:13:08 -07:00
system
teleagent Don't log error on tunnel node after its serving agent is stopped (#5042) 2020-12-11 17:39:19 +01:00
tlsca Use KeyStore instead of raw keys with CAs (#7615) 2021-08-03 10:13:08 -07:00
utils ClusterConfig fallback (#7702) 2021-08-09 10:17:49 -07:00
web Decouple database server from database (#7771) 2021-08-05 01:50:21 -07:00
runtimeflags.go