From aab0ea4e4144613c545462dfaa2e2ac76551691d Mon Sep 17 00:00:00 2001 From: Andrew Kim Date: Thu, 24 Jan 2019 14:49:59 -0500 Subject: [PATCH] allow k8s.io/utils in client-go import restrictions --- hack/import-restrictions.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hack/import-restrictions.yaml b/hack/import-restrictions.yaml index 76354c8c6e4..bfcd70fefa1 100644 --- a/hack/import-restrictions.yaml +++ b/hack/import-restrictions.yaml @@ -62,6 +62,7 @@ - k8s.io/apimachinery - k8s.io/client-go - k8s.io/klog + - k8s.io/utils # prevent core machinery from taking explicit v1 references unless # necessary @@ -84,6 +85,7 @@ - k8s.io/apimachinery - k8s.io/client-go - k8s.io/klog + - k8s.io/utils - baseImportPath: "./vendor/k8s.io/apiserver/" allowedImports: