Skip to content

Commit

Permalink
Merge pull request kubernetes#127097 from skitt/force-gengo-v2
Browse files Browse the repository at this point in the history
Only allow importing gengo/v2
  • Loading branch information
k8s-ci-robot authored Sep 3, 2024
2 parents 89fbb3f + 6a11b61 commit d1b398c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions staging/publishing/import-restrictions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
- "./staging/src/k8s.io/code-generator/examples"
- "./staging/src/k8s.io/code-generator/cmd/defaulter-gen/output_tests"
allowedImports:
- k8s.io/gengo
- k8s.io/gengo/v2
- k8s.io/code-generator
- k8s.io/kube-openapi
- k8s.io/klog
Expand Down Expand Up @@ -180,7 +180,7 @@
- baseImportPath: "./vendor/k8s.io/kube-openapi"
allowedImports:
- k8s.io/kube-openapi
- k8s.io/gengo
- k8s.io/gengo/v2
- k8s.io/klog
- k8s.io/utils

Expand Down

0 comments on commit d1b398c

Please sign in to comment.