Move cri/streaming to k8s.io/kubelet staging repository

Container runtimes like CRI-O and containerd reuse the code by copying
it from Kubernetes. To have a single source of truth for the streaming
server we now move the already isolated implementation to the
k8s.io/kubelet staging repository. This way runtimes can re-use the code
without copying the parts.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
This commit is contained in:
Sascha Grunert
2023-05-25 11:15:34 +02:00
parent eca1f9d2d5
commit db9fcfeed2
31 changed files with 113 additions and 49 deletions

View File

@@ -29,7 +29,7 @@ import (
"golang.org/x/net/websocket"
"k8s.io/apimachinery/pkg/types"
"k8s.io/kubernetes/pkg/kubelet/cri/streaming/portforward"
"k8s.io/kubelet/pkg/cri/streaming/portforward"
)
const (