Skip to content
Snippets Groups Projects
Commit 55eb6525 authored by Tore Stendal Lønøy's avatar Tore Stendal Lønøy
Browse files

chore(vpa): update api-docs script

missed some exports to work correctly.
parent 8251159b
Branches
Tags
No related merge requests found
......@@ -33,13 +33,13 @@ if [[ -z $(which crd-ref-docs) ]]; then
cd $WORKSPACE
go install github.com/elastic/crd-ref-docs@latest
)
CONTROLLER_GEN=${GOBIN:-$(go env GOPATH)/bin}/crd-ref-docs
export CONTROLLER_GEN=${GOBIN:-$(go env GOPATH)/bin}/crd-ref-docs
else
CONTROLLER_GEN=$(which crd-ref-docs)
export CONTROLLER_GEN=$(which crd-ref-docs)
fi
cd "$(dirname "${BASH_SOURCE[0]}")/.."
crd-ref-docs \
$CONTROLLER_GEN \
--source-path=pkg/apis/ \
--config=./hack/api-docs/config.yaml \
--renderer=markdown \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment