File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ OPERATOR_BASE_DIR ?= ${OUT}/operator
8282
8383# storage (used by some operators)
8484STORAGE_CLASS ?= "local-storage"
85+ CRC_STORAGE_NAMESPACE ?= crc-storage
8586CRC_STORAGE_RETRIES ?= 3
8687LVMS_CR ?= 1
8788
@@ -599,13 +600,15 @@ wait: ## wait for an operator's controller-manager pod to be ready (requires OPE
599600
600601# #@ CRC
601602.PHONY : crc_storage
603+ crc_storage : export NAMESPACE = ${CRC_STORAGE_NAMESPACE}
602604crc_storage : namespace # # initialize local storage PVs in CRC vm
603605 $(eval $(call vars,$@ ) )
604606 bash scripts/create-pv.sh
605607 bash scripts/gen-crc-pv-kustomize.sh
606608 oc apply -f ${OUT} /crc/storage.yaml
607609
608610.PHONY : crc_storage_cleanup
611+ crc_storage_cleanup : export NAMESPACE = ${CRC_STORAGE_NAMESPACE}
609612crc_storage_cleanup : namespace # # cleanup local storage PVs in CRC vm
610613 $(eval $(call vars,$@ ) )
611614 bash scripts/cleanup-crc-pv.sh
You can’t perform that action at this time.
0 commit comments