when tsrecorder receives events, it populates this field with
information about the node the request was sent to.
Updates #17141
Signed-off-by: chaosinthecrd <tom@tmlabs.co.uk>
// Source provides details about the client that initiated the request.
// Source provides details about the client that initiated the request.
SourceSource`json:"source"`
SourceSource`json:"source"`
// Destination provides details about the node receiving the request.
DestinationDestination`json:"destination"`
}
}
// copied from https://github.com/kubernetes/kubernetes/blob/11ade2f7dd264c2f52a4a1342458abbbaa3cb2b1/staging/src/k8s.io/apiserver/pkg/endpoints/request/requestinfo.go#L44
// copied from https://github.com/kubernetes/kubernetes/blob/11ade2f7dd264c2f52a4a1342458abbbaa3cb2b1/staging/src/k8s.io/apiserver/pkg/endpoints/request/requestinfo.go#L44
@ -95,6 +98,17 @@ type Source struct {
NodeUserstring`json:"nodeUser,omitempty"`
NodeUserstring`json:"nodeUser,omitempty"`
}
}
typeDestinationstruct{
// Node is the FQDN of the node receiving the connection.
// It is also the MagicDNS name for the node.
// It does not have a trailing dot.
// e.g. "host.tail-scale.ts.net"
Nodestring`json:"node"`
// NodeID is the node ID of the node receiving the connection.