Skip to content

Commit

Permalink
fix generate CRDs script (#2079)
Browse files Browse the repository at this point in the history
  • Loading branch information
kale-amruta committed May 30, 2023
1 parent 6169a0f commit 91208ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/generate_crds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ CONTROLLER_GEN=${LOCALBIN}/controller-gen
## Tool Versions
CONTROLLER_TOOLS_VERSION=${1}

test -s ${CONTROLLER_GEN} || GOBIN=${LOCALBIN} go install sigs.k8s.io/controller-tools/cmd/controller-gen@$(CONTROLLER_TOOLS_VERSION)
test -s ${CONTROLLER_GEN} || GOBIN=${LOCALBIN} go install sigs.k8s.io/controller-tools/cmd/controller-gen@${CONTROLLER_TOOLS_VERSION}
${CONTROLLER_GEN} crd webhook paths="github.com/kanisterio/kanister/pkg/apis/cr/v1alpha1" output:crd:artifacts:config=pkg/customresource

0 comments on commit 91208ae

Please sign in to comment.