teleport/lib/kube
tcsc 0a516547dc
Properly marks k8s stream complete on error exit (#6068)
Addresses #5624

When a k8s stream exits it emits events that mark the session recording
as complete. Prior to this patch, the `exec` handler exited before
emitting these "session complete" events, leaving the recordings
orphaned.

This patch wraps the stream cleanup in a `defer`ed cleanup handler
that marks the stream as complete in any exit mode.
2021-03-22 10:20:45 +11:00
..
kubeconfig Refactor API Dependencies - tlsca and gosaml2 (#5242) 2021-01-20 17:30:03 -08:00
proxy Properly marks k8s stream complete on error exit (#6068) 2021-03-22 10:20:45 +11:00
utils Rename tsh kube clusters to tsh kube ls (#4850) 2020-11-16 18:50:49 +00:00
doc.go Kubernetes proxy to use impersonation API 2019-03-18 15:46:49 -07:00