Merge pull request #117379 from bart0sh/PR111-control-e2e-framework-k/k/pkg-deps
Control e2e framework -> k/k/pkg dependencies
This commit is contained in:
		| @@ -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: [ "" ] | ||||
|   | ||||
| @@ -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: [ "" ] | ||||
|   | ||||
| @@ -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: [ "" ] | ||||
|   | ||||
| @@ -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: [ "" ] | ||||
|   | ||||
| @@ -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: [ "" ] | ||||
|   | ||||
| @@ -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: [ "" ] | ||||
|   | ||||
| @@ -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: [ "" ] | ||||
|   | ||||
| @@ -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: [ "" ] | ||||
|   | ||||
| @@ -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: [ "" ] | ||||
|   | ||||
| @@ -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: [ "" ] | ||||
|   | ||||
| @@ -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: [ "" ] | ||||
|   | ||||
| @@ -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: [ "" ] | ||||
|   | ||||
| @@ -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: [ "" ] | ||||
|   | ||||
| @@ -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: [ "" ] | ||||
|   | ||||
| @@ -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: [ "" ] | ||||
|   | ||||
| @@ -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: [ "" ] | ||||
|   | ||||
| @@ -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: [ "" ] | ||||
|   | ||||
| @@ -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: [ "" ] | ||||
|   | ||||
| @@ -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: [ "" ] | ||||
|   | ||||
| @@ -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: [ "" ] | ||||
|   | ||||
| @@ -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: [ "" ] | ||||
|   | ||||
| @@ -38,7 +38,6 @@ import ( | ||||
| 	"github.com/onsi/ginkgo/v2" | ||||
| 	"github.com/onsi/gomega" | ||||
|  | ||||
| 	"k8s.io/kubernetes/pkg/util/slice" | ||||
| 	"k8s.io/kubernetes/test/e2e/framework" | ||||
| ) | ||||
|  | ||||
| @@ -313,10 +312,29 @@ func (c *PodClient) PodIsReady(ctx context.Context, name string) bool { | ||||
| 	return podutils.IsPodReady(pod) | ||||
| } | ||||
|  | ||||
| // RemoveString returns a newly created []string that contains all items from slice | ||||
| // that are not equal to s. | ||||
| // This code is taken from k/k/pkg/util/slice/slice.go to remove | ||||
| // e2e/framework/pod -> k/k/pkg/util/slice dependency. | ||||
| func removeString(slice []string, s string) []string { | ||||
| 	newSlice := make([]string, 0) | ||||
| 	for _, item := range slice { | ||||
| 		if item != s { | ||||
| 			newSlice = append(newSlice, item) | ||||
| 		} | ||||
| 	} | ||||
| 	if len(newSlice) == 0 { | ||||
| 		// Sanitize for unit tests so we don't need to distinguish empty array | ||||
| 		// and nil. | ||||
| 		return nil | ||||
| 	} | ||||
| 	return newSlice | ||||
| } | ||||
|  | ||||
| // RemovePodFinalizer removes the pod's finalizer | ||||
| func (c *PodClient) RemoveFinalizer(ctx context.Context, podName string, finalizerName string) { | ||||
| 	framework.Logf("Removing pod's %q finalizer: %q", podName, finalizerName) | ||||
| 	c.Update(ctx, podName, func(pod *v1.Pod) { | ||||
| 		pod.ObjectMeta.Finalizers = slice.RemoveString(pod.ObjectMeta.Finalizers, finalizerName, nil) | ||||
| 		pod.ObjectMeta.Finalizers = removeString(pod.ObjectMeta.Finalizers, finalizerName) | ||||
| 	}) | ||||
| } | ||||
|   | ||||
| @@ -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: [ "" ] | ||||
|   | ||||
							
								
								
									
										9
									
								
								test/e2e/framework/providers/gce/.import-restrictions
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								test/e2e/framework/providers/gce/.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: [ "" ] | ||||
| @@ -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: [ "" ] | ||||
| @@ -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: [ "" ] | ||||
|   | ||||
| @@ -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: [ "" ] | ||||
|   | ||||
| @@ -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: [ "" ] | ||||
|   | ||||
| @@ -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: [ "" ] | ||||
|   | ||||
| @@ -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: [ "" ] | ||||
|   | ||||
| @@ -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: [ "" ] | ||||
|   | ||||
| @@ -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: [ "" ] | ||||
|   | ||||
| @@ -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: [ "" ] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Kubernetes Prow Robot
					Kubernetes Prow Robot