From cee855b4e1d5c45e210d349a7a69e43535c707d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20K=C3=A4ldstr=C3=B6m?= Date: Thu, 6 Sep 2018 13:35:56 +0300 Subject: [PATCH] Add import-restrictions information for staging repos --- hack/import-restrictions.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/hack/import-restrictions.yaml b/hack/import-restrictions.yaml index 55dfe9b1a72..6bc64e6ea9c 100644 --- a/hack/import-restrictions.yaml +++ b/hack/import-restrictions.yaml @@ -126,3 +126,24 @@ - k8s.io/cli-runtime - k8s.io/client-go - k8s.io/sample-cli-plugin + +- baseImportPath: "./vendor/k8s.io/kube-controller-manager/" + allowedImports: + - k8s.io/apimachinery + - k8s.io/apiserver + - k8s.io/utils + +- baseImportPath: "./vendor/k8s.io/kube-proxy/" + allowedImports: + - k8s.io/apimachinery + +- baseImportPath: "./vendor/k8s.io/kube-scheduler/" + allowedImports: + - k8s.io/apimachinery + - k8s.io/apiserver + - k8s.io/utils + +- baseImportPath: "./vendor/k8s.io/kubelet/" + allowedImports: + - k8s.io/api + - k8s.io/apimachinery