Skip to content

Commit 1ea3df3

Browse files
authored
Merge pull request #40 from vprashar2929/test
Add support for creating volume for microshift
2 parents b4c10e3 + b1b8184 commit 1ea3df3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

providers/microshift/microshift.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ function _wait_microshift_up {
6363
function _deploy_microshift_cluster {
6464
# create network for microshift and registry to communicate
6565
run $CTR_CMD network create ${MICROSHIFT_CTR_NETWORK}
66+
# create volume for microshift
67+
run $CTR_CMD volume create microshift-data --opt type=tmpfs --opt device=tmpfs --opt o=size=7G,uid=1000
6668
# run the docker container
6769
run_container "$CTR_CMD" \
6870
"${MICROSHIFT_IMAGE}":"${MICROSHIFT_TAG}" "$MICROSHIFT_CONTAINER_NAME" \

0 commit comments

Comments
 (0)