From 3c2940f2ae200054a4475ebfdc82b8fb5b040371 Mon Sep 17 00:00:00 2001 From: Tim Hockin Date: Fri, 29 Dec 2023 15:43:21 -0800 Subject: [PATCH] Kill off PRJ_SRC_PATH --- build/root/Makefile | 1 - hack/update-codegen.sh | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/build/root/Makefile b/build/root/Makefile index 40e6988109a..2e62c35b5ed 100644 --- a/build/root/Makefile +++ b/build/root/Makefile @@ -48,7 +48,6 @@ MAKEFLAGS += --warn-undefined-variables .EXPORT_ALL_VARIABLES: OUT_DIR ?= _output BIN_DIR := $(OUT_DIR)/bin -PRJ_SRC_PATH := k8s.io/kubernetes ifdef KUBE_GOFLAGS $(info KUBE_GOFLAGS is now deprecated. Please use GOFLAGS instead.) diff --git a/hack/update-codegen.sh b/hack/update-codegen.sh index ef8fc98c52e..72d23933cef 100755 --- a/hack/update-codegen.sh +++ b/hack/update-codegen.sh @@ -35,7 +35,6 @@ UPDATE_API_KNOWN_VIOLATIONS="${UPDATE_API_KNOWN_VIOLATIONS:-}" API_KNOWN_VIOLATIONS_DIR="${API_KNOWN_VIOLATIONS_DIR:-"${KUBE_ROOT}/api/api-rules"}" OUT_DIR="_output" -PRJ_SRC_PATH="k8s.io/kubernetes" BOILERPLATE_FILENAME="hack/boilerplate/boilerplate.generatego.txt" APPLYCONFIG_PKG="k8s.io/client-go/applyconfigurations" @@ -180,7 +179,7 @@ function codegen::deepcopy() { --logtostderr \ --go-header-file "${BOILERPLATE_FILENAME}" \ --output-file-base "${output_file}" \ - --bounding-dirs "${PRJ_SRC_PATH},k8s.io/api" \ + --bounding-dirs "k8s.io/kubernetes,k8s.io/api" \ $(printf -- " -i %s" "${tag_pkgs[@]}") \ "$@"