Skip to content

Commit

Permalink
Only allow importing gengo/v2
Browse files Browse the repository at this point in the history
The old gengo shouldn't be used any longer.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
  • Loading branch information
skitt committed Sep 3, 2024
1 parent e954415 commit 6a11b61
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 6a11b61

Please sign in to comment.