2018-01-09 18:57:14 +00:00
|
|
|
- baseImportPath: "./pkg/apis/core/"
|
|
|
|
allowedImports:
|
|
|
|
- k8s.io/apimachinery
|
|
|
|
- k8s.io/apiserver/pkg/util/feature
|
|
|
|
- k8s.io/kubernetes/pkg/apis/core
|
|
|
|
- k8s.io/kubernetes/pkg/features
|
|
|
|
- k8s.io/kubernetes/pkg/fieldpath
|
|
|
|
- k8s.io/kubernetes/pkg/util
|
|
|
|
- k8s.io/api/core/v1
|
2018-11-26 18:23:56 +00:00
|
|
|
- k8s.io/utils/pointer
|
|
|
|
- k8s.io/klog
|
2018-01-09 18:57:14 +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.
|
2018-11-26 18:23:56 +00:00
|
|
|
- k8s.io/kubernetes/pkg/apis/apps
|
2018-01-09 18:57:14 +00:00
|
|
|
- k8s.io/kubernetes/pkg/api/legacyscheme
|
|
|
|
- k8s.io/kubernetes/pkg/api/testapi
|
2018-11-26 18:23:56 +00:00
|
|
|
- k8s.io/api/apps/v1
|
2018-01-09 18:57:14 +00:00
|
|
|
ignoredSubTrees:
|
|
|
|
- "./pkg/apis/core/validation"
|
|
|
|
|
2018-11-26 18:23:56 +00:00
|
|
|
- baseImportPath: "./vendor/k8s.io/cli-runtime/pkg/genericclioptions/"
|
2018-07-18 14:47:22 +00:00
|
|
|
allowedImports:
|
|
|
|
- k8s.io/apimachinery
|
|
|
|
- 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-11-26 18:23:56 +00:00
|
|
|
- k8s.io/cli-runtime/pkg/genericclioptions/printers
|
|
|
|
- k8s.io/cli-runtime/pkg/genericclioptions/resource
|
2018-07-18 14:47:22 +00:00
|
|
|
|
2018-01-09 18:57:14 +00:00
|
|
|
- baseImportPath: "./vendor/k8s.io/apimachinery/"
|
|
|
|
allowedImports:
|
|
|
|
- k8s.io/apimachinery
|
|
|
|
- k8s.io/kube-openapi
|
2018-11-26 18:23:56 +00:00
|
|
|
- k8s.io/klog
|
2018-01-09 18:57:14 +00:00
|
|
|
|
|
|
|
- baseImportPath: "./vendor/k8s.io/api/"
|
|
|
|
allowedImports:
|
|
|
|
- k8s.io/api
|
|
|
|
- k8s.io/apimachinery
|
2018-11-26 18:23:56 +00:00
|
|
|
- k8s.io/klog
|
2018-01-09 18:57:14 +00:00
|
|
|
|
|
|
|
- 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
|
2018-11-26 18:23:56 +00:00
|
|
|
- k8s.io/klog
|
2018-01-09 18:57:14 +00:00
|
|
|
|
|
|
|
- baseImportPath: "./vendor/k8s.io/client-go/"
|
|
|
|
allowedImports:
|
|
|
|
- k8s.io/api
|
|
|
|
- k8s.io/apimachinery
|
|
|
|
- k8s.io/client-go
|
2018-11-26 18:23:56 +00:00
|
|
|
- k8s.io/klog
|
2018-01-09 18:57:14 +00:00
|
|
|
|
2018-07-18 14:47:22 +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
|
2018-11-26 18:23:56 +00:00
|
|
|
- k8s.io/klog
|
2018-07-18 14:47:22 +00:00
|
|
|
- baseImportPath: "./vendor/k8s.io/client-go/tools/"
|
|
|
|
excludeTests: true
|
|
|
|
ignoredSubTrees:
|
|
|
|
- "./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
|
2018-11-26 18:23:56 +00:00
|
|
|
- k8s.io/klog
|
2018-07-18 14:47:22 +00:00
|
|
|
|
2018-01-09 18:57:14 +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-11-26 18:23:56 +00:00
|
|
|
- k8s.io/utils
|
|
|
|
- k8s.io/klog
|
2018-01-09 18:57:14 +00:00
|
|
|
|
|
|
|
- baseImportPath: "./vendor/k8s.io/metrics/"
|
|
|
|
allowedImports:
|
|
|
|
- k8s.io/api
|
|
|
|
- k8s.io/apimachinery
|
|
|
|
- k8s.io/client-go
|
|
|
|
- k8s.io/metrics
|
2018-11-26 18:23:56 +00:00
|
|
|
- k8s.io/klog
|
2018-01-09 18:57:14 +00:00
|
|
|
|
|
|
|
- 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
|
2018-11-26 18:23:56 +00:00
|
|
|
- k8s.io/klog
|
2018-01-09 18:57:14 +00:00
|
|
|
|
|
|
|
- baseImportPath: "./vendor/k8s.io/sample-apiserver/"
|
|
|
|
allowedImports:
|
|
|
|
- k8s.io/api
|
|
|
|
- k8s.io/apimachinery
|
|
|
|
- k8s.io/apiserver
|
|
|
|
- k8s.io/client-go
|
|
|
|
- k8s.io/sample-apiserver
|
2018-11-26 18:23:56 +00:00
|
|
|
- k8s.io/klog
|
2018-01-09 18:57:14 +00:00
|
|
|
|
|
|
|
- baseImportPath: "./vendor/k8s.io/apiextensions-apiserver/"
|
|
|
|
allowedImports:
|
|
|
|
- k8s.io/api
|
|
|
|
- k8s.io/apiextensions-apiserver
|
|
|
|
- k8s.io/apimachinery
|
|
|
|
- k8s.io/apiserver
|
|
|
|
- k8s.io/client-go
|
2018-11-26 18:23:56 +00:00
|
|
|
- k8s.io/klog
|
2018-01-09 18:57:14 +00:00
|
|
|
|
|
|
|
- baseImportPath: "./vendor/k8s.io/kube-openapi/"
|
|
|
|
allowedImports:
|
2018-11-26 18:23:56 +00:00
|
|
|
- k8s.io/apimachinery
|
2018-01-09 18:57:14 +00:00
|
|
|
- k8s.io/kube-openapi
|
|
|
|
- k8s.io/gengo
|
2018-11-26 18:23:56 +00:00
|
|
|
- k8s.io/klog
|
|
|
|
|
|
|
|
- baseImportPath: "./vendor/k8s.io/sample-cli-plugin/"
|
|
|
|
allowedImports:
|
|
|
|
- k8s.io/api
|
|
|
|
- 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
|
|
|
|
|
|
|
|
- baseImportPath: "./vendor/k8s.io/cluster-bootstrap/"
|
|
|
|
allowedImports:
|
|
|
|
- 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
|
|
|
|
- k8s.io/klog
|