diff --git a/vertical-pod-autoscaler/hack/generate-crd-yaml.sh b/vertical-pod-autoscaler/hack/generate-crd-yaml.sh index 32c0e834ac1a..268105eaed19 100755 --- a/vertical-pod-autoscaler/hack/generate-crd-yaml.sh +++ b/vertical-pod-autoscaler/hack/generate-crd-yaml.sh @@ -32,7 +32,7 @@ trap cleanup EXIT if [[ -z $(which controller-gen) ]]; then ( cd $WORKSPACE - go install sigs.k8s.io/controller-tools/cmd/controller-gen@0.9.2 + go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.9.2 ) CONTROLLER_GEN=${GOBIN:-$(go env GOPATH)/bin}/controller-gen else