You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/cmd
Irbe Krumina a15ff1bade
cmd/k8s-operator,k8s-operator/sessionrecording: support recording kubectl exec sessions over WebSockets (#12947)
cmd/k8s-operator,k8s-operator/sessionrecording: support recording WebSocket sessions

Kubernetes currently supports two streaming protocols, SPDY and WebSockets.
WebSockets are replacing SPDY, see
https://github.com/kubernetes/enhancements/issues/4006.
We were currently only supporting SPDY, erroring out if session
was not SPDY and relying on the kube's built-in SPDY fallback.

This PR:

- adds support for parsing contents of 'kubectl exec' sessions streamed
over WebSockets

- adds logic to distinguish 'kubectl exec' requests for a SPDY/WebSockets
sessions and call the relevant handler

Updates tailscale/corp#19821

Signed-off-by: Irbe Krumina <irbe@tailscale.com>
Co-authored-by: Tom Proctor <tomhjp@users.noreply.github.com>
1 month ago
..
addlicense all: update tools that manage copyright headers 2 years ago
build-webclient client/web: precompress assets 10 months ago
cloner cmd/cloner, cmd/viewer: add _test prefix for files generated with the test build tag 2 months ago
connector-gen cmd/connector-gen: add helper tool for wide app connector configurations 9 months ago
containerboot cmd/containerboot: optionally serve health check endpoint (#12899) 1 month ago
derper util/syspolicy/setting: add package that contains types for the next syspolicy PRs 1 month ago
derpprobe cmd/derpprobe: use a status page from the prober library 2 months ago
dist release/dist/qnap: add qnap target builder 5 months ago
get-authkey util/cmpx: delete now that we're using Go 1.22 8 months ago
gitops-pusher cmd/gitops-pusher: ignore previous etag if local acls match control (#13068) 1 month ago
hello cmd/hello: link to the Hello KB article (#11022) 8 months ago
k8s-nameserver cmd/k8s-nameserver: fix AAAA record query response (#12412) 3 months ago
k8s-operator cmd/k8s-operator,k8s-operator/sessionrecording: support recording kubectl exec sessions over WebSockets (#12947) 1 month ago
mkmanifest cmd/mkmanifest, cmd/tailscale, cmd/tailscaled: remove Windows arm32 resources from OSS 2 years ago
mkpkg go.mod: upgrade nfpm to v2 (#8786) 1 year ago
mkversion version/mkversion: open-source version generation logic 2 years ago
nardump all: update copyright and license headers 2 years ago
natc go.mod: bump bart 2 months ago
netlogfmt all: use Go 1.22 range-over-int 5 months ago
nginx-auth tailcfg,all: add and use Node.IsTagged() 2 years ago
pgproxy tsnet: split user facing and backend logging 4 months ago
printdep cmd/printdep: print correct toolchain URL 2 years ago
proxy-to-grafana cmd/proxy-to-grafana: add flag for alternative control server 3 months ago
sniproxy all: use math/rand/v2 more 4 months ago
speedtest all: update copyright and license headers 2 years ago
ssh-auth-none-demo all: replace deprecated ioutil references 1 year ago
stunc cmd/stunc: support user-specified port (#12469) 3 months ago
stund types/opt: add generic Value[T any] for optional values of any types 2 months ago
stunstamp cmd/stunstamp: refactor connection construction (#13110) 1 month ago
sync-containers all: adjust some build tags for plan9 1 year ago
tailscale cmd/tailscale/cli: support passing network lock keys via files 1 month ago
tailscaled cmd/tailscale/cli: support passing network lock keys via files 1 month ago
testcontrol all: use Go 1.22 range-over-int 5 months ago
testwrapper cmd/testwrapper: apply results of all unit tests to coverage for all packages 7 months ago
tsconnect all: use math/rand/v2 more 4 months ago
tsidp cmd/tsidp: add funnel support (#12591) 1 month ago
tsshd all: update copyright and license headers 2 years ago
tta cmd/tta, vnet: add host firewall, env var support, more tests 1 month ago
viewer cmd/viewer, types/views, util/codegen: add viewer support for custom container types 2 months ago
vnet gokrazy,tstest/integration/nat: add Gokrazy appliance just for natlab 1 month ago
xdpderper all: add test for package comments, fix, add comments as needed 2 months ago