summaryrefslogtreecommitdiff
path: root/hack/generate-crds.sh
diff options
context:
space:
mode:
authorgy95 <guoyao17@huawei.com>2021-10-13 14:36:08 +0800
committergy95 <guoyao17@huawei.com>2021-10-13 14:36:08 +0800
commit1b7b92d431220644608df8d77ec0d00ceb5550be (patch)
treec08c0653d07ccd3d2689c18a137331f3e1413d34 /hack/generate-crds.sh
parentMerge pull request #3219 from fisherxu/v1.8.2 (diff)
downloadkubeedge-1b7b92d431220644608df8d77ec0d00ceb5550be.tar.gz
fix make verify-crds failed
Signed-off-by: gy95 <guoyao17@huawei.com>
Diffstat (limited to 'hack/generate-crds.sh')
-rwxr-xr-xhack/generate-crds.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/hack/generate-crds.sh b/hack/generate-crds.sh
index 009a6a27f..1ccc24e09 100755
--- a/hack/generate-crds.sh
+++ b/hack/generate-crds.sh
@@ -54,6 +54,7 @@ function :pre:install: {
if [ "$(which controller-gen)" == "" ]; then
echo "Start to install controller-gen tool"
GO111MODULE=on go install -v sigs.k8s.io/controller-tools/cmd/controller-gen@v0.6.2
+ export PATH=$PATH:$GOPATH/bin
fi
}