From 033d69432d6757ab445d07c7ab854e46e1169d54 Mon Sep 17 00:00:00 2001 From: Nikhita Raghunath Date: Tue, 9 Oct 2018 10:30:00 +0530 Subject: [PATCH] Add import restrictions for cloud-provider --- hack/import-restrictions.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hack/import-restrictions.yaml b/hack/import-restrictions.yaml index ddab3397137..4507c8305cb 100644 --- a/hack/import-restrictions.yaml +++ b/hack/import-restrictions.yaml @@ -152,3 +152,9 @@ - k8s.io/api - k8s.io/apimachinery - k8s.io/cluster-bootstrap + +- baseImportPath: "./vendor/k8s.io/cloud-provider/" + allowedImports: + - k8s.io/api + - k8s.io/apimachinery + - k8s.io/client-go