kubelet: move pkg/kubelet/cri/.import-restrictions to pkg/kubelet/cri/streaming

Based on the comments in this file, it seems like these import
restrictions were originally meant for the kubelet CRI streaming
package. This commit moves the import restrictions to
pkg/kubelet/cri/streaming so that pkg/kubelet/cri can import internal
packages like pkg/probe/exec

Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
This commit is contained in:
Andrew Sy Kim 2020-10-16 14:30:21 -04:00
parent 4bb30c3b0e
commit af40d18b67

View File

@ -3,4 +3,3 @@ rules:
- selectorRegexp: k8s[.]io/kubernetes
allowedPrefixes:
- k8s.io/kubernetes/pkg/kubelet/cri
- k8s.io/kubernetes/pkg/probe/exec