diff --git a/build/crds/build-crds.sh b/build/crds/build-crds.sh index bc4281813..6eb31b1dc 100755 --- a/build/crds/build-crds.sh +++ b/build/crds/build-crds.sh @@ -103,8 +103,13 @@ build_helm_resources() { ######## # MAIN # ######## +# clean the directory where CRDs are generated +rm -fr "$OLM_CATALOG_DIR" + +# generate the CRDs generating_crds_v1 +# get the OBC CRDs if [ -z "$NO_OB_OBC_VOL_GEN" ]; then echo "Generating obcs in crds.yaml" copy_ob_obc_crds