From b7f2b5b65785b33bffd28d153743863b2af16a73 Mon Sep 17 00:00:00 2001 From: Tom Wieczorek Date: Thu, 28 Mar 2024 13:00:47 +0100 Subject: [PATCH] FIXME pin code-generator to alpha.3 Until upstream has fixed the release engineering. Signed-off-by: Tom Wieczorek --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fec88ef17d21..e25e8c3e5d40 100644 --- a/Makefile +++ b/Makefile @@ -143,7 +143,8 @@ pkg/client/clientset/.client-gen.stamp: $(shell find $(clientset_input_dirs) -ty pkg/client/clientset/.client-gen.stamp: .k0sbuild.docker-image.k0s hack/tools/boilerplate.go.txt embedded-bins/Makefile.variables gendir="$$(mktemp -d .client-gen.XXXXXX.tmp)" \ && trap "rm -rf -- $$gendir" INT EXIT \ - && CGO_ENABLED=0 $(GO) run k8s.io/code-generator/cmd/client-gen@v$(kubernetes_version:1.%=0.%) \ + && `# FIXME hotfix for https://github.com/kubernetes/kubernetes/issues/123933` \ + && CGO_ENABLED=0 $(GO) run k8s.io/code-generator/cmd/client-gen@v0.30.0-alpha.3 \ --go-header-file=hack/tools/boilerplate.go.txt \ --input-base='' \ --input=$(subst $(space),$(comma),$(clientset_input_dirs:%=github.com/k0sproject/k0s/%)) \