Skip to content
This repository was archived by the owner on Dec 6, 2024. It is now read-only.

Commit 1dc78f7

Browse files
committed
Fixing update-crd script to generate crds from the objectstorage directory
1 parent aabe21e commit 1dc78f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/update-crd.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ CONTROLLERTOOLS_PKG=${CONTROLLERTOOLS_PKG:-$(cd "${SCRIPT_ROOT}"; ls -d -1 ./ven
77
# find or download controller-gen
88
pushd "${CONTROLLERTOOLS_PKG}"
99
trap popd exit
10-
go run -v ./cmd/controller-gen crd:crdVersions=v1 paths="${SCRIPT_ROOT}/apis/..." output:crd:dir="${SCRIPT_ROOT}/crds"
10+
go run -v ./cmd/controller-gen crd:crdVersions=v1 paths="${SCRIPT_ROOT}/apis/objectstorage/..." output:crd:dir="${SCRIPT_ROOT}/crds"

0 commit comments

Comments
 (0)