diff --git a/test/e2e/framework/auth/.import-restrictions b/test/e2e/framework/auth/.import-restrictions index fdd90e600b5..03b5ee5ec2c 100644 --- a/test/e2e/framework/auth/.import-restrictions +++ b/test/e2e/framework/auth/.import-restrictions @@ -1,9 +1,12 @@ # 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. +# dependencies except of k/k/pkg, 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: "^k8s[.]io/kubernetes/pkg" + allowedPrefixes: [] + - selectorRegexp: "" allowedPrefixes: [ "" ] diff --git a/test/e2e/framework/autoscaling/.import-restrictions b/test/e2e/framework/autoscaling/.import-restrictions index fdd90e600b5..c72fb309362 100644 --- a/test/e2e/framework/autoscaling/.import-restrictions +++ b/test/e2e/framework/autoscaling/.import-restrictions @@ -1,9 +1,13 @@ # 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. +# dependencies except of k/k/pkg, 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: "^k8s[.]io/kubernetes/pkg" + allowedPrefixes: + - k8s.io/kubernetes/pkg/api/v1/pod + - selectorRegexp: "" allowedPrefixes: [ "" ] diff --git a/test/e2e/framework/config/.import-restrictions b/test/e2e/framework/config/.import-restrictions index fdd90e600b5..03b5ee5ec2c 100644 --- a/test/e2e/framework/config/.import-restrictions +++ b/test/e2e/framework/config/.import-restrictions @@ -1,9 +1,12 @@ # 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. +# dependencies except of k/k/pkg, 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: "^k8s[.]io/kubernetes/pkg" + allowedPrefixes: [] + - selectorRegexp: "" allowedPrefixes: [ "" ] diff --git a/test/e2e/framework/debug/.import-restrictions b/test/e2e/framework/debug/.import-restrictions index fdd90e600b5..c72fb309362 100644 --- a/test/e2e/framework/debug/.import-restrictions +++ b/test/e2e/framework/debug/.import-restrictions @@ -1,9 +1,13 @@ # 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. +# dependencies except of k/k/pkg, 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: "^k8s[.]io/kubernetes/pkg" + allowedPrefixes: + - k8s.io/kubernetes/pkg/api/v1/pod + - selectorRegexp: "" allowedPrefixes: [ "" ] diff --git a/test/e2e/framework/deployment/.import-restrictions b/test/e2e/framework/deployment/.import-restrictions index fdd90e600b5..c72fb309362 100644 --- a/test/e2e/framework/deployment/.import-restrictions +++ b/test/e2e/framework/deployment/.import-restrictions @@ -1,9 +1,13 @@ # 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. +# dependencies except of k/k/pkg, 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: "^k8s[.]io/kubernetes/pkg" + allowedPrefixes: + - k8s.io/kubernetes/pkg/api/v1/pod + - selectorRegexp: "" allowedPrefixes: [ "" ] diff --git a/test/e2e/framework/endpoints/.import-restrictions b/test/e2e/framework/endpoints/.import-restrictions index fdd90e600b5..03b5ee5ec2c 100644 --- a/test/e2e/framework/endpoints/.import-restrictions +++ b/test/e2e/framework/endpoints/.import-restrictions @@ -1,9 +1,12 @@ # 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. +# dependencies except of k/k/pkg, 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: "^k8s[.]io/kubernetes/pkg" + allowedPrefixes: [] + - selectorRegexp: "" allowedPrefixes: [ "" ] diff --git a/test/e2e/framework/endpointslice/.import-restrictions b/test/e2e/framework/endpointslice/.import-restrictions index fdd90e600b5..03b5ee5ec2c 100644 --- a/test/e2e/framework/endpointslice/.import-restrictions +++ b/test/e2e/framework/endpointslice/.import-restrictions @@ -1,9 +1,12 @@ # 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. +# dependencies except of k/k/pkg, 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: "^k8s[.]io/kubernetes/pkg" + allowedPrefixes: [] + - selectorRegexp: "" allowedPrefixes: [ "" ] diff --git a/test/e2e/framework/events/.import-restrictions b/test/e2e/framework/events/.import-restrictions index fdd90e600b5..03b5ee5ec2c 100644 --- a/test/e2e/framework/events/.import-restrictions +++ b/test/e2e/framework/events/.import-restrictions @@ -1,9 +1,12 @@ # 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. +# dependencies except of k/k/pkg, 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: "^k8s[.]io/kubernetes/pkg" + allowedPrefixes: [] + - selectorRegexp: "" allowedPrefixes: [ "" ] diff --git a/test/e2e/framework/gpu/.import-restrictions b/test/e2e/framework/gpu/.import-restrictions index fdd90e600b5..03b5ee5ec2c 100644 --- a/test/e2e/framework/gpu/.import-restrictions +++ b/test/e2e/framework/gpu/.import-restrictions @@ -1,9 +1,12 @@ # 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. +# dependencies except of k/k/pkg, 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: "^k8s[.]io/kubernetes/pkg" + allowedPrefixes: [] + - selectorRegexp: "" allowedPrefixes: [ "" ] diff --git a/test/e2e/framework/ingress/.import-restrictions b/test/e2e/framework/ingress/.import-restrictions index fdd90e600b5..c72fb309362 100644 --- a/test/e2e/framework/ingress/.import-restrictions +++ b/test/e2e/framework/ingress/.import-restrictions @@ -1,9 +1,13 @@ # 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. +# dependencies except of k/k/pkg, 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: "^k8s[.]io/kubernetes/pkg" + allowedPrefixes: + - k8s.io/kubernetes/pkg/api/v1/pod + - selectorRegexp: "" allowedPrefixes: [ "" ] diff --git a/test/e2e/framework/internal/.import-restrictions b/test/e2e/framework/internal/.import-restrictions index fdd90e600b5..03b5ee5ec2c 100644 --- a/test/e2e/framework/internal/.import-restrictions +++ b/test/e2e/framework/internal/.import-restrictions @@ -1,9 +1,12 @@ # 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. +# dependencies except of k/k/pkg, 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: "^k8s[.]io/kubernetes/pkg" + allowedPrefixes: [] + - selectorRegexp: "" allowedPrefixes: [ "" ] diff --git a/test/e2e/framework/job/.import-restrictions b/test/e2e/framework/job/.import-restrictions index fdd90e600b5..03b5ee5ec2c 100644 --- a/test/e2e/framework/job/.import-restrictions +++ b/test/e2e/framework/job/.import-restrictions @@ -1,9 +1,12 @@ # 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. +# dependencies except of k/k/pkg, 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: "^k8s[.]io/kubernetes/pkg" + allowedPrefixes: [] + - selectorRegexp: "" allowedPrefixes: [ "" ] diff --git a/test/e2e/framework/kubectl/.import-restrictions b/test/e2e/framework/kubectl/.import-restrictions index fdd90e600b5..c72fb309362 100644 --- a/test/e2e/framework/kubectl/.import-restrictions +++ b/test/e2e/framework/kubectl/.import-restrictions @@ -1,9 +1,13 @@ # 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. +# dependencies except of k/k/pkg, 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: "^k8s[.]io/kubernetes/pkg" + allowedPrefixes: + - k8s.io/kubernetes/pkg/api/v1/pod + - selectorRegexp: "" allowedPrefixes: [ "" ] diff --git a/test/e2e/framework/kubelet/.import-restrictions b/test/e2e/framework/kubelet/.import-restrictions index fdd90e600b5..c72fb309362 100644 --- a/test/e2e/framework/kubelet/.import-restrictions +++ b/test/e2e/framework/kubelet/.import-restrictions @@ -1,9 +1,13 @@ # 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. +# dependencies except of k/k/pkg, 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: "^k8s[.]io/kubernetes/pkg" + allowedPrefixes: + - k8s.io/kubernetes/pkg/api/v1/pod + - selectorRegexp: "" allowedPrefixes: [ "" ] diff --git a/test/e2e/framework/kubesystem/.import-restrictions b/test/e2e/framework/kubesystem/.import-restrictions index fdd90e600b5..03b5ee5ec2c 100644 --- a/test/e2e/framework/kubesystem/.import-restrictions +++ b/test/e2e/framework/kubesystem/.import-restrictions @@ -1,9 +1,12 @@ # 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. +# dependencies except of k/k/pkg, 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: "^k8s[.]io/kubernetes/pkg" + allowedPrefixes: [] + - selectorRegexp: "" allowedPrefixes: [ "" ] diff --git a/test/e2e/framework/manifest/.import-restrictions b/test/e2e/framework/manifest/.import-restrictions index fdd90e600b5..03b5ee5ec2c 100644 --- a/test/e2e/framework/manifest/.import-restrictions +++ b/test/e2e/framework/manifest/.import-restrictions @@ -1,9 +1,12 @@ # 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. +# dependencies except of k/k/pkg, 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: "^k8s[.]io/kubernetes/pkg" + allowedPrefixes: [] + - selectorRegexp: "" allowedPrefixes: [ "" ] diff --git a/test/e2e/framework/metrics/.import-restrictions b/test/e2e/framework/metrics/.import-restrictions index fdd90e600b5..c72fb309362 100644 --- a/test/e2e/framework/metrics/.import-restrictions +++ b/test/e2e/framework/metrics/.import-restrictions @@ -1,9 +1,13 @@ # 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. +# dependencies except of k/k/pkg, 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: "^k8s[.]io/kubernetes/pkg" + allowedPrefixes: + - k8s.io/kubernetes/pkg/api/v1/pod + - selectorRegexp: "" allowedPrefixes: [ "" ] diff --git a/test/e2e/framework/network/.import-restrictions b/test/e2e/framework/network/.import-restrictions index fdd90e600b5..c72fb309362 100644 --- a/test/e2e/framework/network/.import-restrictions +++ b/test/e2e/framework/network/.import-restrictions @@ -1,9 +1,13 @@ # 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. +# dependencies except of k/k/pkg, 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: "^k8s[.]io/kubernetes/pkg" + allowedPrefixes: + - k8s.io/kubernetes/pkg/api/v1/pod + - selectorRegexp: "" allowedPrefixes: [ "" ] diff --git a/test/e2e/framework/node/.import-restrictions b/test/e2e/framework/node/.import-restrictions index fdd90e600b5..c72fb309362 100644 --- a/test/e2e/framework/node/.import-restrictions +++ b/test/e2e/framework/node/.import-restrictions @@ -1,9 +1,13 @@ # 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. +# dependencies except of k/k/pkg, 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: "^k8s[.]io/kubernetes/pkg" + allowedPrefixes: + - k8s.io/kubernetes/pkg/api/v1/pod + - selectorRegexp: "" allowedPrefixes: [ "" ] diff --git a/test/e2e/framework/perf/.import-restrictions b/test/e2e/framework/perf/.import-restrictions index fdd90e600b5..c72fb309362 100644 --- a/test/e2e/framework/perf/.import-restrictions +++ b/test/e2e/framework/perf/.import-restrictions @@ -1,9 +1,13 @@ # 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. +# dependencies except of k/k/pkg, 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: "^k8s[.]io/kubernetes/pkg" + allowedPrefixes: + - k8s.io/kubernetes/pkg/api/v1/pod + - selectorRegexp: "" allowedPrefixes: [ "" ] diff --git a/test/e2e/framework/pod/.import-restrictions b/test/e2e/framework/pod/.import-restrictions index fdd90e600b5..c72fb309362 100644 --- a/test/e2e/framework/pod/.import-restrictions +++ b/test/e2e/framework/pod/.import-restrictions @@ -1,9 +1,13 @@ # 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. +# dependencies except of k/k/pkg, 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: "^k8s[.]io/kubernetes/pkg" + allowedPrefixes: + - k8s.io/kubernetes/pkg/api/v1/pod + - selectorRegexp: "" allowedPrefixes: [ "" ] diff --git a/test/e2e/framework/providers/.import-restrictions b/test/e2e/framework/providers/.import-restrictions index fdd90e600b5..c72fb309362 100644 --- a/test/e2e/framework/providers/.import-restrictions +++ b/test/e2e/framework/providers/.import-restrictions @@ -1,9 +1,13 @@ # 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. +# dependencies except of k/k/pkg, 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: "^k8s[.]io/kubernetes/pkg" + allowedPrefixes: + - k8s.io/kubernetes/pkg/api/v1/pod + - selectorRegexp: "" allowedPrefixes: [ "" ] diff --git a/test/e2e/framework/providers/gce/.import-restrictions b/test/e2e/framework/providers/gce/.import-restrictions new file mode 100644 index 00000000000..fdd90e600b5 --- /dev/null +++ b/test/e2e/framework/providers/gce/.import-restrictions @@ -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: [ "" ] diff --git a/test/e2e/framework/providers/kubemark/.import-restrictions b/test/e2e/framework/providers/kubemark/.import-restrictions new file mode 100644 index 00000000000..fdd90e600b5 --- /dev/null +++ b/test/e2e/framework/providers/kubemark/.import-restrictions @@ -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: [ "" ] diff --git a/test/e2e/framework/replicaset/.import-restrictions b/test/e2e/framework/replicaset/.import-restrictions index fdd90e600b5..03b5ee5ec2c 100644 --- a/test/e2e/framework/replicaset/.import-restrictions +++ b/test/e2e/framework/replicaset/.import-restrictions @@ -1,9 +1,12 @@ # 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. +# dependencies except of k/k/pkg, 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: "^k8s[.]io/kubernetes/pkg" + allowedPrefixes: [] + - selectorRegexp: "" allowedPrefixes: [ "" ] diff --git a/test/e2e/framework/resource/.import-restrictions b/test/e2e/framework/resource/.import-restrictions index fdd90e600b5..c72fb309362 100644 --- a/test/e2e/framework/resource/.import-restrictions +++ b/test/e2e/framework/resource/.import-restrictions @@ -1,9 +1,13 @@ # 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. +# dependencies except of k/k/pkg, 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: "^k8s[.]io/kubernetes/pkg" + allowedPrefixes: + - k8s.io/kubernetes/pkg/api/v1/pod + - selectorRegexp: "" allowedPrefixes: [ "" ] diff --git a/test/e2e/framework/security/.import-restrictions b/test/e2e/framework/security/.import-restrictions index fdd90e600b5..c72fb309362 100644 --- a/test/e2e/framework/security/.import-restrictions +++ b/test/e2e/framework/security/.import-restrictions @@ -1,9 +1,13 @@ # 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. +# dependencies except of k/k/pkg, 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: "^k8s[.]io/kubernetes/pkg" + allowedPrefixes: + - k8s.io/kubernetes/pkg/api/v1/pod + - selectorRegexp: "" allowedPrefixes: [ "" ] diff --git a/test/e2e/framework/service/.import-restrictions b/test/e2e/framework/service/.import-restrictions index fdd90e600b5..c72fb309362 100644 --- a/test/e2e/framework/service/.import-restrictions +++ b/test/e2e/framework/service/.import-restrictions @@ -1,9 +1,13 @@ # 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. +# dependencies except of k/k/pkg, 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: "^k8s[.]io/kubernetes/pkg" + allowedPrefixes: + - k8s.io/kubernetes/pkg/api/v1/pod + - selectorRegexp: "" allowedPrefixes: [ "" ] diff --git a/test/e2e/framework/ssh/.import-restrictions b/test/e2e/framework/ssh/.import-restrictions index fdd90e600b5..03b5ee5ec2c 100644 --- a/test/e2e/framework/ssh/.import-restrictions +++ b/test/e2e/framework/ssh/.import-restrictions @@ -1,9 +1,12 @@ # 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. +# dependencies except of k/k/pkg, 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: "^k8s[.]io/kubernetes/pkg" + allowedPrefixes: [] + - selectorRegexp: "" allowedPrefixes: [ "" ] diff --git a/test/e2e/framework/testfiles/.import-restrictions b/test/e2e/framework/testfiles/.import-restrictions index fdd90e600b5..03b5ee5ec2c 100644 --- a/test/e2e/framework/testfiles/.import-restrictions +++ b/test/e2e/framework/testfiles/.import-restrictions @@ -1,9 +1,12 @@ # 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. +# dependencies except of k/k/pkg, 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: "^k8s[.]io/kubernetes/pkg" + allowedPrefixes: [] + - selectorRegexp: "" allowedPrefixes: [ "" ] diff --git a/test/e2e/framework/timer/.import-restrictions b/test/e2e/framework/timer/.import-restrictions index fdd90e600b5..03b5ee5ec2c 100644 --- a/test/e2e/framework/timer/.import-restrictions +++ b/test/e2e/framework/timer/.import-restrictions @@ -1,9 +1,12 @@ # 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. +# dependencies except of k/k/pkg, 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: "^k8s[.]io/kubernetes/pkg" + allowedPrefixes: [] + - selectorRegexp: "" allowedPrefixes: [ "" ] diff --git a/test/e2e/framework/websocket/.import-restrictions b/test/e2e/framework/websocket/.import-restrictions index fdd90e600b5..03b5ee5ec2c 100644 --- a/test/e2e/framework/websocket/.import-restrictions +++ b/test/e2e/framework/websocket/.import-restrictions @@ -1,9 +1,12 @@ # 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. +# dependencies except of k/k/pkg, 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: "^k8s[.]io/kubernetes/pkg" + allowedPrefixes: [] + - selectorRegexp: "" allowedPrefixes: [ "" ]