From af40d18b6792cee723f1f25bd5bfd2db79de0fd7 Mon Sep 17 00:00:00 2001 From: Andrew Sy Kim Date: Fri, 16 Oct 2020 14:30:21 -0400 Subject: [PATCH] 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 --- pkg/kubelet/cri/{ => streaming}/.import-restrictions | 1 - 1 file changed, 1 deletion(-) rename pkg/kubelet/cri/{ => streaming}/.import-restrictions (80%) diff --git a/pkg/kubelet/cri/.import-restrictions b/pkg/kubelet/cri/streaming/.import-restrictions similarity index 80% rename from pkg/kubelet/cri/.import-restrictions rename to pkg/kubelet/cri/streaming/.import-restrictions index ae9260b9bd1..10215ff9251 100644 --- a/pkg/kubelet/cri/.import-restrictions +++ b/pkg/kubelet/cri/streaming/.import-restrictions @@ -3,4 +3,3 @@ rules: - selectorRegexp: k8s[.]io/kubernetes allowedPrefixes: - k8s.io/kubernetes/pkg/kubelet/cri - - k8s.io/kubernetes/pkg/probe/exec