From 279256694885bc1b1867dba0d7bd1a67f3425944 Mon Sep 17 00:00:00 2001 From: Liping Xue Date: Thu, 18 May 2023 14:43:43 -0700 Subject: [PATCH] Update script. Signed-off-by: Liping Xue --- hack/update-generated-crd-code.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hack/update-generated-crd-code.sh b/hack/update-generated-crd-code.sh index 0f010446..73e5061d 100755 --- a/hack/update-generated-crd-code.sh +++ b/hack/update-generated-crd-code.sh @@ -23,8 +23,10 @@ if [[ -z "${GOPATH}" ]]; then GOPATH=~/go fi +# Please make sure you install k8s.io/code-generator@v0.18.8, you may hit failure when running this script if you install k8s.io/code-generator with different version if [[ ! -d "${GOPATH}/src/k8s.io/code-generator" ]]; then echo "k8s.io/code-generator missing from GOPATH" + echo "please retry after installing k8s.io/code-generator@v0.18.8" exit 1 fi