File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,9 @@ MICROSHIFT ?= 0
8080# operators gets cloned here
8181OPERATOR_BASE_DIR ?= ${OUT}/operator
8282
83+ # bash container image (needed for certain targets)
84+ BASH_IMG ?= quay.io/openstack-k8s-operators/bash:latest
85+
8386# storage (used by some operators)
8487STORAGE_CLASS ?= "local-storage"
8588CRC_STORAGE_NAMESPACE ?= crc-storage
@@ -614,6 +617,7 @@ wait: ## wait for an operator's controller-manager pod to be ready (requires OPE
614617# #@ CRC
615618.PHONY : crc_storage
616619crc_storage : export NAMESPACE = ${CRC_STORAGE_NAMESPACE}
620+ crc_storage : export STORAGE_BASH_IMG = ${BASH_IMG}
617621crc_storage : namespace # # initialize local storage PVs in CRC vm
618622 $(eval $(call vars,$@ ) )
619623 bash scripts/create-pv.sh
@@ -622,6 +626,7 @@ crc_storage: namespace ## initialize local storage PVs in CRC vm
622626
623627.PHONY : crc_storage_cleanup
624628crc_storage_cleanup : export NAMESPACE = ${CRC_STORAGE_NAMESPACE}
629+ crc_storage_cleanup : export STORAGE_BASH_IMG = ${BASH_IMG}
625630crc_storage_cleanup : namespace # # cleanup local storage PVs in CRC vm
626631 $(eval $(call vars,$@ ) )
627632 bash scripts/cleanup-crc-pv.sh
Original file line number Diff line number Diff line change 3333 spec:
3434 containers:
3535 - name: storage
36- image: quay.io/openstack-k8s-operators/bash:latest
36+ image: ${STORAGE_BASH_IMG}
3737 env:
3838 - name: PV_NUM
3939 value: "${PV_NUM} "
You can’t perform that action at this time.
0 commit comments