From 6a11b610660d9b72288599acef0a9118e49cb054 Mon Sep 17 00:00:00 2001 From: Stephen Kitt Date: Tue, 3 Sep 2024 17:55:05 +0200 Subject: [PATCH] Only allow importing gengo/v2 The old gengo shouldn't be used any longer. Signed-off-by: Stephen Kitt --- staging/publishing/import-restrictions.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/staging/publishing/import-restrictions.yaml b/staging/publishing/import-restrictions.yaml index 287446878b40b..acb440dc80a54 100644 --- a/staging/publishing/import-restrictions.yaml +++ b/staging/publishing/import-restrictions.yaml @@ -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 @@ -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