From 033d69432d6757ab445d07c7ab854e46e1169d54 Mon Sep 17 00:00:00 2001 From: Nikhita Raghunath Date: Tue, 9 Oct 2018 10:30:00 +0530 Subject: [PATCH 1/2] 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 From 28ecd4f92aac17598082e1a6d3b0769f041244a0 Mon Sep 17 00:00:00 2001 From: Nikhita Raghunath Date: Tue, 9 Oct 2018 10:36:05 +0530 Subject: [PATCH 2/2] staging/README: add cloud-provider repo --- staging/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/staging/README.md b/staging/README.md index 41314ced3ec..34ff9884b07 100644 --- a/staging/README.md +++ b/staging/README.md @@ -12,6 +12,7 @@ Repositories currently staged here: - [`k8s.io/apiserver`](https://github.com/kubernetes/apiserver) - [`k8s.io/cli-runtime`](https://github.com/kubernetes/cli-runtime) - [`k8s.io/client-go`](https://github.com/kubernetes/client-go) +- [`k8s.io/cloud-provider`](https://github.com/kubernetes/cloud-provider) - [`k8s.io/cluster-bootstrap`](https://github.com/kubernetes/cluster-bootstrap) - [`k8s.io/code-generator`](https://github.com/kubernetes/code-generator) - [`k8s.io/csi-api`](https://github.com/kubernetes/csi-api)