Merge pull request #9891 from travisn/vol-repl-crds

build: Clean the olm dir for crd generation
This commit is contained in:
Travis Nielsen authored and GitHub committed 2022-03-10 14:47:01 -07:00
commit a585a69843
1 file changed
+5
+5
View File
@@ -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