2017-10-10 12:22:58 +00:00
|
|
|
- baseImportPath: "./pkg/apis/core/"
|
|
|
|
allowedImports:
|
|
|
|
- k8s.io/apimachinery
|
2017-08-09 17:51:46 +00:00
|
|
|
- k8s.io/apiserver/pkg/util/feature
|
2017-10-10 12:22:58 +00:00
|
|
|
- k8s.io/kubernetes/pkg/apis/core
|
2017-08-09 17:51:46 +00:00
|
|
|
- k8s.io/kubernetes/pkg/features
|
2017-02-17 16:37:15 +00:00
|
|
|
- k8s.io/kubernetes/pkg/fieldpath
|
2017-10-10 12:22:58 +00:00
|
|
|
- k8s.io/kubernetes/pkg/util
|
|
|
|
- k8s.io/api/core/v1
|
2018-07-27 11:47:58 +00:00
|
|
|
- k8s.io/utils/pointer
|
2017-10-10 12:22:58 +00:00
|
|
|
|
|
|
|
# the following are temporary and should go away. Think twice (or more) before adding anything here.
|
|
|
|
# Main goal: pkg/apis should be as self-contained as possible.
|
|
|
|
- k8s.io/kubernetes/pkg/apis/extensions
|
|
|
|
- k8s.io/kubernetes/pkg/api/legacyscheme
|
|
|
|
- k8s.io/kubernetes/pkg/api/testapi
|
|
|
|
- k8s.io/api/extensions/v1beta1
|
|
|
|
ignoredSubTrees:
|
|
|
|
- "./pkg/apis/core/validation"
|
|
|
|
|
2018-08-21 10:46:39 +00:00
|
|
|
- baseImportPath: "./vendor/k8s.io/cli-runtime/pkg/genericclioptions/"
|
2018-04-18 15:20:28 +00:00
|
|
|
allowedImports:
|
|
|
|
- k8s.io/apimachinery
|
2018-05-10 12:20:27 +00:00
|
|
|
- k8s.io/client-go
|
|
|
|
# TODO this one should be tightened. We depend on it for testing, but we should instead create our own scheme
|
|
|
|
- k8s.io/api/core/v1
|
2018-08-21 10:46:39 +00:00
|
|
|
- k8s.io/cli-runtime/pkg/genericclioptions/printers
|
|
|
|
- k8s.io/cli-runtime/pkg/genericclioptions/resource
|
2018-04-18 15:20:28 +00:00
|
|
|
|
2017-10-25 14:21:54 +00:00
|
|
|
- baseImportPath: "./vendor/k8s.io/apimachinery/"
|
|
|
|
allowedImports:
|
|
|
|
- k8s.io/apimachinery
|
|
|
|
- k8s.io/kube-openapi
|
|
|
|
|
|
|
|
- baseImportPath: "./vendor/k8s.io/api/"
|
|
|
|
allowedImports:
|
|
|
|
- k8s.io/api
|
|
|
|
- k8s.io/apimachinery
|
|
|
|
|
|
|
|
- baseImportPath: "./vendor/k8s.io/code-generator/"
|
|
|
|
ignoredSubTrees:
|
|
|
|
- "./vendor/k8s.io/code-generator/_test"
|
|
|
|
allowedImports:
|
|
|
|
- k8s.io/gengo
|
|
|
|
- k8s.io/code-generator
|
|
|
|
- k8s.io/kube-openapi
|
|
|
|
|
|
|
|
- baseImportPath: "./vendor/k8s.io/client-go/"
|
|
|
|
allowedImports:
|
|
|
|
- k8s.io/api
|
|
|
|
- k8s.io/apimachinery
|
|
|
|
- k8s.io/client-go
|
|
|
|
|
2018-04-25 22:17:14 +00:00
|
|
|
# prevent core machinery from taking explicit v1 references unless
|
|
|
|
# necessary
|
|
|
|
- baseImportPath: "./vendor/k8s.io/client-go/rest/"
|
|
|
|
excludeTests: true
|
|
|
|
allowedImports:
|
|
|
|
- k8s.io/apimachinery
|
|
|
|
- k8s.io/client-go
|
|
|
|
- baseImportPath: "./vendor/k8s.io/client-go/tools/"
|
|
|
|
excludeTests: true
|
|
|
|
ignoredSubTrees:
|
|
|
|
- "./vendor/k8s.io/client-go/tools/bootstrap/token/api"
|
|
|
|
- "./vendor/k8s.io/client-go/tools/cache/testing"
|
|
|
|
- "./vendor/k8s.io/client-go/tools/leaderelection/resourcelock"
|
|
|
|
- "./vendor/k8s.io/client-go/tools/portforward"
|
|
|
|
- "./vendor/k8s.io/client-go/tools/record"
|
|
|
|
- "./vendor/k8s.io/client-go/tools/reference"
|
|
|
|
- "./vendor/k8s.io/client-go/tools/remotecommand"
|
|
|
|
allowedImports:
|
|
|
|
- k8s.io/apimachinery
|
|
|
|
- k8s.io/client-go
|
|
|
|
|
|
|
|
|
2017-10-25 14:21:54 +00:00
|
|
|
- baseImportPath: "./vendor/k8s.io/apiserver/"
|
|
|
|
allowedImports:
|
|
|
|
- k8s.io/api
|
|
|
|
- k8s.io/apimachinery
|
|
|
|
- k8s.io/apiserver
|
|
|
|
- k8s.io/client-go
|
|
|
|
- k8s.io/kube-openapi
|
2018-08-09 20:33:47 +00:00
|
|
|
- k8s.io/utils
|
2017-10-25 14:21:54 +00:00
|
|
|
|
|
|
|
- baseImportPath: "./vendor/k8s.io/metrics/"
|
|
|
|
allowedImports:
|
|
|
|
- k8s.io/api
|
|
|
|
- k8s.io/apimachinery
|
|
|
|
- k8s.io/client-go
|
|
|
|
- k8s.io/metrics
|
|
|
|
|
|
|
|
- baseImportPath: "./vendor/k8s.io/kube-aggregator/"
|
|
|
|
allowedImports:
|
|
|
|
- k8s.io/api
|
|
|
|
- k8s.io/apimachinery
|
|
|
|
- k8s.io/apiserver
|
|
|
|
- k8s.io/client-go
|
|
|
|
- k8s.io/kube-aggregator
|
|
|
|
- k8s.io/kube-openapi
|
|
|
|
|
|
|
|
- baseImportPath: "./vendor/k8s.io/sample-apiserver/"
|
|
|
|
allowedImports:
|
|
|
|
- k8s.io/api
|
|
|
|
- k8s.io/apimachinery
|
|
|
|
- k8s.io/apiserver
|
|
|
|
- k8s.io/client-go
|
|
|
|
- k8s.io/sample-apiserver
|
|
|
|
|
|
|
|
- baseImportPath: "./vendor/k8s.io/apiextensions-apiserver/"
|
|
|
|
allowedImports:
|
|
|
|
- k8s.io/api
|
|
|
|
- k8s.io/apiextensions-apiserver
|
|
|
|
- k8s.io/apimachinery
|
|
|
|
- k8s.io/apiserver
|
|
|
|
- k8s.io/client-go
|
|
|
|
|
|
|
|
- baseImportPath: "./vendor/k8s.io/kube-openapi/"
|
|
|
|
allowedImports:
|
2018-07-11 00:53:24 +00:00
|
|
|
- k8s.io/apimachinery
|
2017-10-25 14:21:54 +00:00
|
|
|
- k8s.io/kube-openapi
|
|
|
|
- k8s.io/gengo
|
2018-08-23 07:38:57 +00:00
|
|
|
|
|
|
|
- baseImportPath: "./vendor/k8s.io/sample-cli-plugin/"
|
|
|
|
allowedImports:
|
|
|
|
- k8s.io/api
|
|
|
|
- k8s.io/cli-runtime
|
|
|
|
- k8s.io/client-go
|
|
|
|
- k8s.io/sample-cli-plugin
|