k8s-operator: adding session type to cast header

Updates #16490

Signed-off-by: chaosinthecrd <tom@tmlabs.co.uk>
This commit is contained in:
chaosinthecrd 2025-07-25 19:59:11 +01:00
parent bfebf870ae
commit 0e44016c50
No known key found for this signature in database
GPG Key ID: 52ED56820AF046EE

View File

@ -187,6 +187,7 @@ func (h *Hijacker) setUpRecording(ctx context.Context, conn net.Conn) (net.Conn,
PodName: h.pod, PodName: h.pod,
Namespace: h.ns, Namespace: h.ns,
Container: container, Container: container,
SessionType: string(h.sessionType),
}, },
} }
if !h.who.Node.IsTagged() { if !h.who.Node.IsTagged() {