mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 10:20:51 +00:00
Merge pull request #115710 from pohly/e2e-import-restrictions
e2e framework: revise import restrictions
This commit is contained in:
commit
487c443239
@ -1,269 +1,34 @@
|
|||||||
rules:
|
rules:
|
||||||
- selectorRegexp: k8s[.]io/kubernetes/pkg/
|
# The core E2E framework is meant to be a normal Kubernetes client,
|
||||||
|
# which means that it shouldn't depend on internal
|
||||||
|
# code. But we are not there yet, so some exceptions
|
||||||
|
# have to be allowed. Over time the list of allowed
|
||||||
|
# packages should get shorter, not longer.
|
||||||
|
- selectorRegexp: ^k8s[.]io/kubernetes/pkg/
|
||||||
allowedPrefixes:
|
allowedPrefixes:
|
||||||
- k8s.io/kubernetes/pkg/api/legacyscheme
|
- k8s.io/kubernetes/pkg/kubelet/apis/
|
||||||
- k8s.io/kubernetes/pkg/api/service
|
|
||||||
- k8s.io/kubernetes/pkg/api/v1/pod
|
# The following packages are okay to use:
|
||||||
- k8s.io/kubernetes/pkg/api/v1/resource
|
#
|
||||||
- k8s.io/kubernetes/pkg/api/v1/service
|
# public API
|
||||||
- k8s.io/kubernetes/pkg/api/pod
|
- selectorRegexp: ^k8s[.]io/(api|apimachinery|client-go|component-base|klog|pod-security-admission|utils)/|^[a-z]+(/|$)|github.com/onsi/(ginkgo|gomega)|^k8s[.]io/kubernetes/test/(e2e/framework/internal/|utils)
|
||||||
- k8s.io/kubernetes/pkg/api/node
|
allowedPrefixes: [ "" ]
|
||||||
- k8s.io/kubernetes/pkg/api/persistentvolumeclaim
|
|
||||||
- k8s.io/kubernetes/pkg/apis/apps
|
# stdlib
|
||||||
- k8s.io/kubernetes/pkg/apis/apps/validation
|
- selectorRegexp: ^[a-z]+(/|$)
|
||||||
- k8s.io/kubernetes/pkg/apis/autoscaling
|
allowedPrefixes: [ "" ]
|
||||||
- k8s.io/kubernetes/pkg/apis/batch
|
|
||||||
- k8s.io/kubernetes/pkg/apis/certificates
|
# Ginkgo + Gomega.
|
||||||
- k8s.io/kubernetes/pkg/apis/certificates/v1
|
- selectorRegexp: github.com/onsi/(ginkgo|gomega)|^k8s[.]io/kubernetes/test/(e2e/framework/internal/|utils)
|
||||||
- k8s.io/kubernetes/pkg/apis/core
|
allowedPrefixes: [ "" ]
|
||||||
- k8s.io/kubernetes/pkg/apis/core/helper
|
|
||||||
- k8s.io/kubernetes/pkg/apis/core/install
|
# some of the shared test helpers (but not E2E sub-packages!)
|
||||||
- k8s.io/kubernetes/pkg/apis/core/pods
|
- selectorRegexp: ^k8s[.]io/kubernetes/test/(e2e/framework/internal/|utils)
|
||||||
- k8s.io/kubernetes/pkg/apis/core/v1
|
allowedPrefixes: [ "" ]
|
||||||
- k8s.io/kubernetes/pkg/apis/core/v1/helper
|
|
||||||
- k8s.io/kubernetes/pkg/apis/core/v1/helper/qos
|
# Everything else isn't.
|
||||||
- k8s.io/kubernetes/pkg/apis/core/validation
|
#
|
||||||
- k8s.io/kubernetes/pkg/apis/extensions
|
# In particular importing any test/e2e/framework/* package would be a
|
||||||
- k8s.io/kubernetes/pkg/apis/networking
|
# violation (sub-packages get to use the framework, not the other way
|
||||||
- k8s.io/kubernetes/pkg/apis/node
|
# around).
|
||||||
- k8s.io/kubernetes/pkg/apis/policy
|
- selectorRegexp: .
|
||||||
- k8s.io/kubernetes/pkg/apis/policy/validation
|
|
||||||
- k8s.io/kubernetes/pkg/apis/scheduling
|
|
||||||
- k8s.io/kubernetes/pkg/apis/storage/v1/util
|
|
||||||
- k8s.io/kubernetes/pkg/capabilities
|
|
||||||
- k8s.io/kubernetes/pkg/client/conditions
|
|
||||||
- k8s.io/kubernetes/pkg/cloudprovider/providers
|
|
||||||
- k8s.io/kubernetes/pkg/controller
|
|
||||||
- k8s.io/kubernetes/pkg/controller/deployment/util
|
|
||||||
- k8s.io/kubernetes/pkg/controller/nodelifecycle
|
|
||||||
- k8s.io/kubernetes/pkg/controller/nodelifecycle/scheduler
|
|
||||||
- k8s.io/kubernetes/pkg/controller/service
|
|
||||||
- k8s.io/kubernetes/pkg/controller/util/node
|
|
||||||
- k8s.io/kubernetes/pkg/controller/volume/persistentvolume/util
|
|
||||||
- k8s.io/kubernetes/pkg/credentialprovider
|
|
||||||
- k8s.io/kubernetes/pkg/credentialprovider/aws
|
|
||||||
- k8s.io/kubernetes/pkg/credentialprovider/azure
|
|
||||||
- k8s.io/kubernetes/pkg/credentialprovider/gcp
|
|
||||||
- k8s.io/kubernetes/pkg/credentialprovider/secrets
|
|
||||||
- k8s.io/kubernetes/pkg/features
|
|
||||||
- k8s.io/kubernetes/pkg/fieldpath
|
|
||||||
- k8s.io/kubernetes/pkg/kubectl
|
|
||||||
- k8s.io/kubernetes/pkg/kubectl/apps
|
|
||||||
- k8s.io/kubernetes/pkg/kubectl/describe
|
|
||||||
- k8s.io/kubernetes/pkg/kubectl/describe/versioned
|
|
||||||
- k8s.io/kubernetes/pkg/kubectl/scheme
|
|
||||||
- k8s.io/kubernetes/pkg/kubectl/util
|
|
||||||
- k8s.io/kubernetes/pkg/kubectl/util/certificate
|
|
||||||
- k8s.io/kubernetes/pkg/kubectl/util/deployment
|
|
||||||
- k8s.io/kubernetes/pkg/kubectl/util/event
|
|
||||||
- k8s.io/kubernetes/pkg/kubectl/util/fieldpath
|
|
||||||
- k8s.io/kubernetes/pkg/kubectl/util/podutils
|
|
||||||
- k8s.io/kubernetes/pkg/kubectl/util/qos
|
|
||||||
- k8s.io/kubernetes/pkg/kubectl/util/rbac
|
|
||||||
- k8s.io/kubernetes/pkg/kubectl/util/resource
|
|
||||||
- k8s.io/kubernetes/pkg/kubectl/util/slice
|
|
||||||
- k8s.io/kubernetes/pkg/kubectl/util/storage
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/apis
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/apis/config
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/apis/stats/v1alpha1
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/cadvisor
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/certificate
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/certificate/bootstrap
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/checkpoint
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/checkpointmanager
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/checkpointmanager/checksum
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/checkpointmanager/errors
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/cloudresource
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/cm
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/cm/cpumanager
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/cm/cpumanager/containermap
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/cm/cpumanager/state
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/cm/cpumanager/topology
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/cm/cpuset
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/cm/devicemanager
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/cm/devicemanager/checkpoint
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/cm/topologymanager
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/cm/topologymanager/bitmask
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/cm/util
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/config
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/configmap
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/container
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/envvars
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/eviction
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/eviction/api
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/events
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/images
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/kubeletconfig
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/kubeletconfig/checkpoint
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/kubeletconfig/checkpoint/store
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/kubeletconfig/configfiles
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/kubeletconfig/status
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/kubeletconfig/util/codec
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/kubeletconfig/util/files
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/kubeletconfig/util/log
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/kubeletconfig/util/panic
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/kuberuntime
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/kuberuntime/logs
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/leaky
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/lifecycle
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/logs
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/metrics
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/network/dns
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/nodelease
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/nodestatus
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/oom
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/pleg
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/pluginmanager
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/pluginmanager/cache
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/pluginmanager/metrics
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/pluginmanager/operationexecutor
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/pluginmanager/pluginwatcher
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/pluginmanager/pluginwatcher/example_plugin_apis/v1beta1
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/pluginmanager/pluginwatcher/example_plugin_apis/v1beta2
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/pluginmanager/reconciler
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/pod
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/preemption
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/prober
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/prober/results
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/qos
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/remote
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/runtimeclass
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/server
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/server/metrics
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/server/portforward
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/server/remotecommand
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/server/stats
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/server/streaming
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/stats
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/stats/pidlimit
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/status
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/secret
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/sysctl
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/types
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/token
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/util
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/util/format
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/util/manager
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/util/store
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/volumemanager
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/volumemanager/cache
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/volumemanager/metrics
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/volumemanager/populator
|
|
||||||
- k8s.io/kubernetes/pkg/kubelet/volumemanager/reconciler
|
|
||||||
- k8s.io/kubernetes/pkg/kubemark
|
|
||||||
- k8s.io/kubernetes/pkg/cluster/ports
|
|
||||||
- k8s.io/kubernetes/pkg/probe
|
|
||||||
- k8s.io/kubernetes/pkg/probe/exec
|
|
||||||
- k8s.io/kubernetes/pkg/probe/http
|
|
||||||
- k8s.io/kubernetes/pkg/probe/tcp
|
|
||||||
- k8s.io/kubernetes/pkg/proxy
|
|
||||||
- k8s.io/kubernetes/pkg/proxy/apis
|
|
||||||
- k8s.io/kubernetes/pkg/proxy/apis/config
|
|
||||||
- k8s.io/kubernetes/pkg/proxy/apis/config/scheme
|
|
||||||
- k8s.io/kubernetes/pkg/proxy/apis/config/v1alpha1
|
|
||||||
- k8s.io/kubernetes/pkg/proxy/apis/config/validation
|
|
||||||
- k8s.io/kubernetes/pkg/proxy/config
|
|
||||||
- k8s.io/kubernetes/pkg/proxy/healthcheck
|
|
||||||
- k8s.io/kubernetes/pkg/proxy/iptables
|
|
||||||
- k8s.io/kubernetes/pkg/proxy/ipvs
|
|
||||||
- k8s.io/kubernetes/pkg/proxy/metaproxier
|
|
||||||
- k8s.io/kubernetes/pkg/proxy/metrics
|
|
||||||
- k8s.io/kubernetes/pkg/proxy/util
|
|
||||||
- k8s.io/kubernetes/pkg/registry/core/service/allocator
|
|
||||||
- k8s.io/kubernetes/pkg/registry/core/service/portallocator
|
|
||||||
- k8s.io/kubernetes/pkg/scheduler/api
|
|
||||||
- k8s.io/kubernetes/pkg/scheduler/framework
|
|
||||||
- k8s.io/kubernetes/pkg/scheduler/framework/plugins/helper
|
|
||||||
- k8s.io/kubernetes/pkg/scheduler/framework/plugins/nodeaffinity
|
|
||||||
- k8s.io/kubernetes/pkg/scheduler/framework/plugins/nodename
|
|
||||||
- k8s.io/kubernetes/pkg/scheduler/framework/plugins/nodeports
|
|
||||||
- k8s.io/kubernetes/pkg/scheduler/framework/plugins/noderesources
|
|
||||||
- k8s.io/kubernetes/pkg/scheduler/framework/runtime
|
|
||||||
- k8s.io/kubernetes/pkg/scheduler/internal/heap
|
|
||||||
- k8s.io/kubernetes/pkg/scheduler/internal/parallelize
|
|
||||||
- k8s.io/kubernetes/pkg/scheduler/internal/queue
|
|
||||||
- k8s.io/kubernetes/pkg/scheduler/listers
|
|
||||||
- k8s.io/kubernetes/pkg/scheduler/testing
|
|
||||||
- k8s.io/kubernetes/pkg/scheduler/metrics
|
|
||||||
- k8s.io/kubernetes/pkg/scheduler/nodeinfo
|
|
||||||
- k8s.io/kubernetes/pkg/scheduler/util
|
|
||||||
- k8s.io/kubernetes/pkg/scheduler/volumebinder
|
|
||||||
- k8s.io/kubernetes/pkg/scheduler
|
|
||||||
- k8s.io/kubernetes/pkg/scheduler/profile
|
|
||||||
- k8s.io/kubernetes/pkg/scheduler/testing
|
|
||||||
- k8s.io/kubernetes/pkg/security/apparmor
|
|
||||||
- k8s.io/kubernetes/pkg/securitycontext
|
|
||||||
- k8s.io/kubernetes/pkg/serviceaccount
|
|
||||||
- k8s.io/kubernetes/pkg/util/async
|
|
||||||
- k8s.io/kubernetes/pkg/util/bandwidth
|
|
||||||
- k8s.io/kubernetes/pkg/util/config
|
|
||||||
- k8s.io/kubernetes/pkg/util/configz
|
|
||||||
- k8s.io/kubernetes/pkg/util/conntrack
|
|
||||||
- k8s.io/kubernetes/pkg/util/env
|
|
||||||
- k8s.io/kubernetes/pkg/util/filesystem
|
|
||||||
- k8s.io/kubernetes/pkg/util/flag
|
|
||||||
- k8s.io/kubernetes/pkg/util/flock
|
|
||||||
- k8s.io/kubernetes/pkg/util/goroutinemap
|
|
||||||
- k8s.io/kubernetes/pkg/util/goroutinemap/exponentialbackoff
|
|
||||||
- k8s.io/kubernetes/pkg/util/hash
|
|
||||||
- k8s.io/kubernetes/pkg/util/ipset
|
|
||||||
- k8s.io/kubernetes/pkg/util/iptables
|
|
||||||
- k8s.io/kubernetes/pkg/util/ipvs
|
|
||||||
- k8s.io/kubernetes/pkg/util/labels
|
|
||||||
- k8s.io/kubernetes/pkg/util/node
|
|
||||||
- k8s.io/kubernetes/pkg/util/oom
|
|
||||||
- k8s.io/kubernetes/pkg/util/parsers
|
|
||||||
- k8s.io/kubernetes/pkg/util/pod
|
|
||||||
- k8s.io/kubernetes/pkg/util/procfs
|
|
||||||
- k8s.io/kubernetes/pkg/util/removeall
|
|
||||||
- k8s.io/kubernetes/pkg/util/resizefs
|
|
||||||
- k8s.io/kubernetes/pkg/util/rlimit
|
|
||||||
- k8s.io/kubernetes/pkg/util/selinux
|
|
||||||
- k8s.io/kubernetes/pkg/util/slice
|
|
||||||
- k8s.io/kubernetes/pkg/util/sysctl
|
|
||||||
- k8s.io/kubernetes/pkg/util/system
|
|
||||||
- k8s.io/kubernetes/pkg/util/tail
|
|
||||||
- k8s.io/kubernetes/pkg/util/taints
|
|
||||||
- k8s.io/kubernetes/pkg/volume
|
|
||||||
- k8s.io/kubernetes/pkg/volume/util
|
|
||||||
- k8s.io/kubernetes/pkg/volume/util/fs
|
|
||||||
- k8s.io/kubernetes/pkg/volume/util/fsquota
|
|
||||||
- k8s.io/kubernetes/pkg/volume/util/recyclerclient
|
|
||||||
- k8s.io/kubernetes/pkg/volume/util/subpath
|
|
||||||
- k8s.io/kubernetes/pkg/volume/util/types
|
|
||||||
- k8s.io/kubernetes/pkg/volume/util/volumepathhandler
|
|
||||||
# TODO: I have no idea why import-boss --include-test-files is yelling about these for k8s.io/kubernetes/test/e2e/framework/providers/kubemark
|
|
||||||
- k8s.io/kubernetes/pkg/apis/authentication
|
|
||||||
- k8s.io/kubernetes/pkg/apis/authentication/v1
|
|
||||||
- k8s.io/kubernetes/pkg/apis/certificates/v1beta1
|
|
||||||
- k8s.io/kubernetes/pkg/apis/storage/v1
|
|
||||||
- k8s.io/kubernetes/pkg/scheduler/internal/cache
|
|
||||||
- selectorRegexp: k8s[.]io/kubernetes/test/
|
|
||||||
allowedPrefixes:
|
|
||||||
- k8s.io/kubernetes/test/e2e/common
|
|
||||||
- k8s.io/kubernetes/test/e2e/framework
|
|
||||||
- k8s.io/kubernetes/test/e2e/framework/auth
|
|
||||||
- k8s.io/kubernetes/test/e2e/framework/ginkgowrapper
|
|
||||||
- k8s.io/kubernetes/test/e2e/framework/kubectl
|
|
||||||
- k8s.io/kubernetes/test/e2e/framework/log
|
|
||||||
- k8s.io/kubernetes/test/e2e/framework/metrics
|
|
||||||
- k8s.io/kubernetes/test/e2e/framework/network
|
|
||||||
- k8s.io/kubernetes/test/e2e/framework/node
|
|
||||||
- k8s.io/kubernetes/test/e2e/framework/pod
|
|
||||||
- k8s.io/kubernetes/test/e2e/framework/rc
|
|
||||||
- k8s.io/kubernetes/test/e2e/framework/resource
|
|
||||||
- k8s.io/kubernetes/test/e2e/framework/service
|
|
||||||
- k8s.io/kubernetes/test/e2e/framework/ssh
|
|
||||||
- k8s.io/kubernetes/test/e2e/framework/testfiles
|
|
||||||
- k8s.io/kubernetes/test/e2e/framework/websocket
|
|
||||||
- k8s.io/kubernetes/test/e2e/manifest
|
|
||||||
- k8s.io/kubernetes/test/e2e/perftype
|
|
||||||
- k8s.io/kubernetes/test/e2e/storage/utils
|
|
||||||
- k8s.io/kubernetes/test/e2e/system
|
|
||||||
- k8s.io/kubernetes/test/utils
|
|
||||||
- k8s.io/kubernetes/test/utils/image
|
|
||||||
# TODO: why is this here?
|
|
||||||
- selectorRegexp: k8s[.]io/kubernetes/third_party/
|
|
||||||
allowedPrefixes:
|
|
||||||
- k8s.io/kubernetes/third_party/forked/golang/expansion
|
|
||||||
|
9
test/e2e/framework/auth/.import-restrictions
Normal file
9
test/e2e/framework/auth/.import-restrictions
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# This E2E framework sub-package is currently allowed to use arbitrary
|
||||||
|
# dependencies, therefore we need to override the restrictions from
|
||||||
|
# the parent .import-restrictions file.
|
||||||
|
#
|
||||||
|
# At some point it may become useful to also check this package's
|
||||||
|
# dependencies more careful.
|
||||||
|
rules:
|
||||||
|
- selectorRegexp: ""
|
||||||
|
allowedPrefixes: [ "" ]
|
9
test/e2e/framework/autoscaling/.import-restrictions
Normal file
9
test/e2e/framework/autoscaling/.import-restrictions
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# This E2E framework sub-package is currently allowed to use arbitrary
|
||||||
|
# dependencies, therefore we need to override the restrictions from
|
||||||
|
# the parent .import-restrictions file.
|
||||||
|
#
|
||||||
|
# At some point it may become useful to also check this package's
|
||||||
|
# dependencies more careful.
|
||||||
|
rules:
|
||||||
|
- selectorRegexp: ""
|
||||||
|
allowedPrefixes: [ "" ]
|
9
test/e2e/framework/config/.import-restrictions
Normal file
9
test/e2e/framework/config/.import-restrictions
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# This E2E framework sub-package is currently allowed to use arbitrary
|
||||||
|
# dependencies, therefore we need to override the restrictions from
|
||||||
|
# the parent .import-restrictions file.
|
||||||
|
#
|
||||||
|
# At some point it may become useful to also check this package's
|
||||||
|
# dependencies more careful.
|
||||||
|
rules:
|
||||||
|
- selectorRegexp: ""
|
||||||
|
allowedPrefixes: [ "" ]
|
9
test/e2e/framework/daemonset/.import-restrictions
Normal file
9
test/e2e/framework/daemonset/.import-restrictions
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# This E2E framework sub-package is currently allowed to use arbitrary
|
||||||
|
# dependencies, therefore we need to override the restrictions from
|
||||||
|
# the parent .import-restrictions file.
|
||||||
|
#
|
||||||
|
# At some point it may become useful to also check this package's
|
||||||
|
# dependencies more careful.
|
||||||
|
rules:
|
||||||
|
- selectorRegexp: ""
|
||||||
|
allowedPrefixes: [ "" ]
|
9
test/e2e/framework/debug/.import-restrictions
Normal file
9
test/e2e/framework/debug/.import-restrictions
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# This E2E framework sub-package is currently allowed to use arbitrary
|
||||||
|
# dependencies, therefore we need to override the restrictions from
|
||||||
|
# the parent .import-restrictions file.
|
||||||
|
#
|
||||||
|
# At some point it may become useful to also check this package's
|
||||||
|
# dependencies more careful.
|
||||||
|
rules:
|
||||||
|
- selectorRegexp: ""
|
||||||
|
allowedPrefixes: [ "" ]
|
9
test/e2e/framework/deployment/.import-restrictions
Normal file
9
test/e2e/framework/deployment/.import-restrictions
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# This E2E framework sub-package is currently allowed to use arbitrary
|
||||||
|
# dependencies, therefore we need to override the restrictions from
|
||||||
|
# the parent .import-restrictions file.
|
||||||
|
#
|
||||||
|
# At some point it may become useful to also check this package's
|
||||||
|
# dependencies more careful.
|
||||||
|
rules:
|
||||||
|
- selectorRegexp: ""
|
||||||
|
allowedPrefixes: [ "" ]
|
9
test/e2e/framework/endpoints/.import-restrictions
Normal file
9
test/e2e/framework/endpoints/.import-restrictions
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# This E2E framework sub-package is currently allowed to use arbitrary
|
||||||
|
# dependencies, therefore we need to override the restrictions from
|
||||||
|
# the parent .import-restrictions file.
|
||||||
|
#
|
||||||
|
# At some point it may become useful to also check this package's
|
||||||
|
# dependencies more careful.
|
||||||
|
rules:
|
||||||
|
- selectorRegexp: ""
|
||||||
|
allowedPrefixes: [ "" ]
|
9
test/e2e/framework/endpointslice/.import-restrictions
Normal file
9
test/e2e/framework/endpointslice/.import-restrictions
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# This E2E framework sub-package is currently allowed to use arbitrary
|
||||||
|
# dependencies, therefore we need to override the restrictions from
|
||||||
|
# the parent .import-restrictions file.
|
||||||
|
#
|
||||||
|
# At some point it may become useful to also check this package's
|
||||||
|
# dependencies more careful.
|
||||||
|
rules:
|
||||||
|
- selectorRegexp: ""
|
||||||
|
allowedPrefixes: [ "" ]
|
9
test/e2e/framework/events/.import-restrictions
Normal file
9
test/e2e/framework/events/.import-restrictions
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# This E2E framework sub-package is currently allowed to use arbitrary
|
||||||
|
# dependencies, therefore we need to override the restrictions from
|
||||||
|
# the parent .import-restrictions file.
|
||||||
|
#
|
||||||
|
# At some point it may become useful to also check this package's
|
||||||
|
# dependencies more careful.
|
||||||
|
rules:
|
||||||
|
- selectorRegexp: ""
|
||||||
|
allowedPrefixes: [ "" ]
|
9
test/e2e/framework/gpu/.import-restrictions
Normal file
9
test/e2e/framework/gpu/.import-restrictions
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# This E2E framework sub-package is currently allowed to use arbitrary
|
||||||
|
# dependencies, therefore we need to override the restrictions from
|
||||||
|
# the parent .import-restrictions file.
|
||||||
|
#
|
||||||
|
# At some point it may become useful to also check this package's
|
||||||
|
# dependencies more careful.
|
||||||
|
rules:
|
||||||
|
- selectorRegexp: ""
|
||||||
|
allowedPrefixes: [ "" ]
|
9
test/e2e/framework/ingress/.import-restrictions
Normal file
9
test/e2e/framework/ingress/.import-restrictions
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# This E2E framework sub-package is currently allowed to use arbitrary
|
||||||
|
# dependencies, therefore we need to override the restrictions from
|
||||||
|
# the parent .import-restrictions file.
|
||||||
|
#
|
||||||
|
# At some point it may become useful to also check this package's
|
||||||
|
# dependencies more careful.
|
||||||
|
rules:
|
||||||
|
- selectorRegexp: ""
|
||||||
|
allowedPrefixes: [ "" ]
|
9
test/e2e/framework/internal/.import-restrictions
Normal file
9
test/e2e/framework/internal/.import-restrictions
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# This E2E framework sub-package is currently allowed to use arbitrary
|
||||||
|
# dependencies, therefore we need to override the restrictions from
|
||||||
|
# the parent .import-restrictions file.
|
||||||
|
#
|
||||||
|
# At some point it may become useful to also check this package's
|
||||||
|
# dependencies more careful.
|
||||||
|
rules:
|
||||||
|
- selectorRegexp: ""
|
||||||
|
allowedPrefixes: [ "" ]
|
9
test/e2e/framework/job/.import-restrictions
Normal file
9
test/e2e/framework/job/.import-restrictions
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# This E2E framework sub-package is currently allowed to use arbitrary
|
||||||
|
# dependencies, therefore we need to override the restrictions from
|
||||||
|
# the parent .import-restrictions file.
|
||||||
|
#
|
||||||
|
# At some point it may become useful to also check this package's
|
||||||
|
# dependencies more careful.
|
||||||
|
rules:
|
||||||
|
- selectorRegexp: ""
|
||||||
|
allowedPrefixes: [ "" ]
|
9
test/e2e/framework/kubectl/.import-restrictions
Normal file
9
test/e2e/framework/kubectl/.import-restrictions
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# This E2E framework sub-package is currently allowed to use arbitrary
|
||||||
|
# dependencies, therefore we need to override the restrictions from
|
||||||
|
# the parent .import-restrictions file.
|
||||||
|
#
|
||||||
|
# At some point it may become useful to also check this package's
|
||||||
|
# dependencies more careful.
|
||||||
|
rules:
|
||||||
|
- selectorRegexp: ""
|
||||||
|
allowedPrefixes: [ "" ]
|
9
test/e2e/framework/kubelet/.import-restrictions
Normal file
9
test/e2e/framework/kubelet/.import-restrictions
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# This E2E framework sub-package is currently allowed to use arbitrary
|
||||||
|
# dependencies, therefore we need to override the restrictions from
|
||||||
|
# the parent .import-restrictions file.
|
||||||
|
#
|
||||||
|
# At some point it may become useful to also check this package's
|
||||||
|
# dependencies more careful.
|
||||||
|
rules:
|
||||||
|
- selectorRegexp: ""
|
||||||
|
allowedPrefixes: [ "" ]
|
9
test/e2e/framework/kubesystem/.import-restrictions
Normal file
9
test/e2e/framework/kubesystem/.import-restrictions
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# This E2E framework sub-package is currently allowed to use arbitrary
|
||||||
|
# dependencies, therefore we need to override the restrictions from
|
||||||
|
# the parent .import-restrictions file.
|
||||||
|
#
|
||||||
|
# At some point it may become useful to also check this package's
|
||||||
|
# dependencies more careful.
|
||||||
|
rules:
|
||||||
|
- selectorRegexp: ""
|
||||||
|
allowedPrefixes: [ "" ]
|
9
test/e2e/framework/manifest/.import-restrictions
Normal file
9
test/e2e/framework/manifest/.import-restrictions
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# This E2E framework sub-package is currently allowed to use arbitrary
|
||||||
|
# dependencies, therefore we need to override the restrictions from
|
||||||
|
# the parent .import-restrictions file.
|
||||||
|
#
|
||||||
|
# At some point it may become useful to also check this package's
|
||||||
|
# dependencies more careful.
|
||||||
|
rules:
|
||||||
|
- selectorRegexp: ""
|
||||||
|
allowedPrefixes: [ "" ]
|
9
test/e2e/framework/metrics/.import-restrictions
Normal file
9
test/e2e/framework/metrics/.import-restrictions
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# This E2E framework sub-package is currently allowed to use arbitrary
|
||||||
|
# dependencies, therefore we need to override the restrictions from
|
||||||
|
# the parent .import-restrictions file.
|
||||||
|
#
|
||||||
|
# At some point it may become useful to also check this package's
|
||||||
|
# dependencies more careful.
|
||||||
|
rules:
|
||||||
|
- selectorRegexp: ""
|
||||||
|
allowedPrefixes: [ "" ]
|
9
test/e2e/framework/network/.import-restrictions
Normal file
9
test/e2e/framework/network/.import-restrictions
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# This E2E framework sub-package is currently allowed to use arbitrary
|
||||||
|
# dependencies, therefore we need to override the restrictions from
|
||||||
|
# the parent .import-restrictions file.
|
||||||
|
#
|
||||||
|
# At some point it may become useful to also check this package's
|
||||||
|
# dependencies more careful.
|
||||||
|
rules:
|
||||||
|
- selectorRegexp: ""
|
||||||
|
allowedPrefixes: [ "" ]
|
9
test/e2e/framework/node/.import-restrictions
Normal file
9
test/e2e/framework/node/.import-restrictions
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# This E2E framework sub-package is currently allowed to use arbitrary
|
||||||
|
# dependencies, therefore we need to override the restrictions from
|
||||||
|
# the parent .import-restrictions file.
|
||||||
|
#
|
||||||
|
# At some point it may become useful to also check this package's
|
||||||
|
# dependencies more careful.
|
||||||
|
rules:
|
||||||
|
- selectorRegexp: ""
|
||||||
|
allowedPrefixes: [ "" ]
|
9
test/e2e/framework/perf/.import-restrictions
Normal file
9
test/e2e/framework/perf/.import-restrictions
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# This E2E framework sub-package is currently allowed to use arbitrary
|
||||||
|
# dependencies, therefore we need to override the restrictions from
|
||||||
|
# the parent .import-restrictions file.
|
||||||
|
#
|
||||||
|
# At some point it may become useful to also check this package's
|
||||||
|
# dependencies more careful.
|
||||||
|
rules:
|
||||||
|
- selectorRegexp: ""
|
||||||
|
allowedPrefixes: [ "" ]
|
9
test/e2e/framework/pod/.import-restrictions
Normal file
9
test/e2e/framework/pod/.import-restrictions
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# This E2E framework sub-package is currently allowed to use arbitrary
|
||||||
|
# dependencies, therefore we need to override the restrictions from
|
||||||
|
# the parent .import-restrictions file.
|
||||||
|
#
|
||||||
|
# At some point it may become useful to also check this package's
|
||||||
|
# dependencies more careful.
|
||||||
|
rules:
|
||||||
|
- selectorRegexp: ""
|
||||||
|
allowedPrefixes: [ "" ]
|
9
test/e2e/framework/providers/.import-restrictions
Normal file
9
test/e2e/framework/providers/.import-restrictions
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# This E2E framework sub-package is currently allowed to use arbitrary
|
||||||
|
# dependencies, therefore we need to override the restrictions from
|
||||||
|
# the parent .import-restrictions file.
|
||||||
|
#
|
||||||
|
# At some point it may become useful to also check this package's
|
||||||
|
# dependencies more careful.
|
||||||
|
rules:
|
||||||
|
- selectorRegexp: ""
|
||||||
|
allowedPrefixes: [ "" ]
|
9
test/e2e/framework/pv/.import-restrictions
Normal file
9
test/e2e/framework/pv/.import-restrictions
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# This E2E framework sub-package is currently allowed to use arbitrary
|
||||||
|
# dependencies, therefore we need to override the restrictions from
|
||||||
|
# the parent .import-restrictions file.
|
||||||
|
#
|
||||||
|
# At some point it may become useful to also check this package's
|
||||||
|
# dependencies more careful.
|
||||||
|
rules:
|
||||||
|
- selectorRegexp: ""
|
||||||
|
allowedPrefixes: [ "" ]
|
9
test/e2e/framework/rc/.import-restrictions
Normal file
9
test/e2e/framework/rc/.import-restrictions
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# This E2E framework sub-package is currently allowed to use arbitrary
|
||||||
|
# dependencies, therefore we need to override the restrictions from
|
||||||
|
# the parent .import-restrictions file.
|
||||||
|
#
|
||||||
|
# At some point it may become useful to also check this package's
|
||||||
|
# dependencies more careful.
|
||||||
|
rules:
|
||||||
|
- selectorRegexp: ""
|
||||||
|
allowedPrefixes: [ "" ]
|
9
test/e2e/framework/replicaset/.import-restrictions
Normal file
9
test/e2e/framework/replicaset/.import-restrictions
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# This E2E framework sub-package is currently allowed to use arbitrary
|
||||||
|
# dependencies, therefore we need to override the restrictions from
|
||||||
|
# the parent .import-restrictions file.
|
||||||
|
#
|
||||||
|
# At some point it may become useful to also check this package's
|
||||||
|
# dependencies more careful.
|
||||||
|
rules:
|
||||||
|
- selectorRegexp: ""
|
||||||
|
allowedPrefixes: [ "" ]
|
9
test/e2e/framework/resource/.import-restrictions
Normal file
9
test/e2e/framework/resource/.import-restrictions
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# This E2E framework sub-package is currently allowed to use arbitrary
|
||||||
|
# dependencies, therefore we need to override the restrictions from
|
||||||
|
# the parent .import-restrictions file.
|
||||||
|
#
|
||||||
|
# At some point it may become useful to also check this package's
|
||||||
|
# dependencies more careful.
|
||||||
|
rules:
|
||||||
|
- selectorRegexp: ""
|
||||||
|
allowedPrefixes: [ "" ]
|
9
test/e2e/framework/security/.import-restrictions
Normal file
9
test/e2e/framework/security/.import-restrictions
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# This E2E framework sub-package is currently allowed to use arbitrary
|
||||||
|
# dependencies, therefore we need to override the restrictions from
|
||||||
|
# the parent .import-restrictions file.
|
||||||
|
#
|
||||||
|
# At some point it may become useful to also check this package's
|
||||||
|
# dependencies more careful.
|
||||||
|
rules:
|
||||||
|
- selectorRegexp: ""
|
||||||
|
allowedPrefixes: [ "" ]
|
9
test/e2e/framework/service/.import-restrictions
Normal file
9
test/e2e/framework/service/.import-restrictions
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# This E2E framework sub-package is currently allowed to use arbitrary
|
||||||
|
# dependencies, therefore we need to override the restrictions from
|
||||||
|
# the parent .import-restrictions file.
|
||||||
|
#
|
||||||
|
# At some point it may become useful to also check this package's
|
||||||
|
# dependencies more careful.
|
||||||
|
rules:
|
||||||
|
- selectorRegexp: ""
|
||||||
|
allowedPrefixes: [ "" ]
|
9
test/e2e/framework/skipper/.import-restrictions
Normal file
9
test/e2e/framework/skipper/.import-restrictions
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# This E2E framework sub-package is currently allowed to use arbitrary
|
||||||
|
# dependencies, therefore we need to override the restrictions from
|
||||||
|
# the parent .import-restrictions file.
|
||||||
|
#
|
||||||
|
# At some point it may become useful to also check this package's
|
||||||
|
# dependencies more careful.
|
||||||
|
rules:
|
||||||
|
- selectorRegexp: ""
|
||||||
|
allowedPrefixes: [ "" ]
|
9
test/e2e/framework/ssh/.import-restrictions
Normal file
9
test/e2e/framework/ssh/.import-restrictions
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# This E2E framework sub-package is currently allowed to use arbitrary
|
||||||
|
# dependencies, therefore we need to override the restrictions from
|
||||||
|
# the parent .import-restrictions file.
|
||||||
|
#
|
||||||
|
# At some point it may become useful to also check this package's
|
||||||
|
# dependencies more careful.
|
||||||
|
rules:
|
||||||
|
- selectorRegexp: ""
|
||||||
|
allowedPrefixes: [ "" ]
|
9
test/e2e/framework/statefulset/.import-restrictions
Normal file
9
test/e2e/framework/statefulset/.import-restrictions
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# This E2E framework sub-package is currently allowed to use arbitrary
|
||||||
|
# dependencies, therefore we need to override the restrictions from
|
||||||
|
# the parent .import-restrictions file.
|
||||||
|
#
|
||||||
|
# At some point it may become useful to also check this package's
|
||||||
|
# dependencies more careful.
|
||||||
|
rules:
|
||||||
|
- selectorRegexp: ""
|
||||||
|
allowedPrefixes: [ "" ]
|
9
test/e2e/framework/testfiles/.import-restrictions
Normal file
9
test/e2e/framework/testfiles/.import-restrictions
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# This E2E framework sub-package is currently allowed to use arbitrary
|
||||||
|
# dependencies, therefore we need to override the restrictions from
|
||||||
|
# the parent .import-restrictions file.
|
||||||
|
#
|
||||||
|
# At some point it may become useful to also check this package's
|
||||||
|
# dependencies more careful.
|
||||||
|
rules:
|
||||||
|
- selectorRegexp: ""
|
||||||
|
allowedPrefixes: [ "" ]
|
9
test/e2e/framework/timer/.import-restrictions
Normal file
9
test/e2e/framework/timer/.import-restrictions
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# This E2E framework sub-package is currently allowed to use arbitrary
|
||||||
|
# dependencies, therefore we need to override the restrictions from
|
||||||
|
# the parent .import-restrictions file.
|
||||||
|
#
|
||||||
|
# At some point it may become useful to also check this package's
|
||||||
|
# dependencies more careful.
|
||||||
|
rules:
|
||||||
|
- selectorRegexp: ""
|
||||||
|
allowedPrefixes: [ "" ]
|
9
test/e2e/framework/volume/.import-restrictions
Normal file
9
test/e2e/framework/volume/.import-restrictions
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# This E2E framework sub-package is currently allowed to use arbitrary
|
||||||
|
# dependencies, therefore we need to override the restrictions from
|
||||||
|
# the parent .import-restrictions file.
|
||||||
|
#
|
||||||
|
# At some point it may become useful to also check this package's
|
||||||
|
# dependencies more careful.
|
||||||
|
rules:
|
||||||
|
- selectorRegexp: ""
|
||||||
|
allowedPrefixes: [ "" ]
|
9
test/e2e/framework/websocket/.import-restrictions
Normal file
9
test/e2e/framework/websocket/.import-restrictions
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# This E2E framework sub-package is currently allowed to use arbitrary
|
||||||
|
# dependencies, therefore we need to override the restrictions from
|
||||||
|
# the parent .import-restrictions file.
|
||||||
|
#
|
||||||
|
# At some point it may become useful to also check this package's
|
||||||
|
# dependencies more careful.
|
||||||
|
rules:
|
||||||
|
- selectorRegexp: ""
|
||||||
|
allowedPrefixes: [ "" ]
|
6
test/e2e/network/.import-restrictions
Normal file
6
test/e2e/network/.import-restrictions
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
rules:
|
||||||
|
# prevent any k8s.io/kubernetes/third_party imports outside of this package
|
||||||
|
# External Packages are used in the network/dns_common.go path
|
||||||
|
- selectorRegexp: k8s[.]io/kubernetes/third_party/
|
||||||
|
allowedPrefixes:
|
||||||
|
- k8s.io/kubernetes/third_party/forked/golang/net
|
Loading…
Reference in New Issue
Block a user