mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-18 16:01:53 +00:00
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>
6 lines
166 B
Plaintext
6 lines
166 B
Plaintext
rules:
|
|
# prevent exposing internal api in streaming packages
|
|
- selectorRegexp: k8s[.]io/kubernetes
|
|
allowedPrefixes:
|
|
- k8s.io/kubernetes/pkg/kubelet/cri
|