File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 env :
2424 - name : " EXTERNAL_PORT"
2525 value : " 2223"
26+ # This var needs to be passed so that the minio client (https://github.com/minio/mc) will work in Alpine linux
27+ - name : " DOCKERIMAGE"
28+ value : " 1"
2629 volumeMounts :
2730 - name : minio-user
2831 mountPath : /var/run/secrets/object/store
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ ACCESS_SECRET=`cat /var/run/secrets/object/store/access-secret-key`
126126mkdir -p /var/minio-conf
127127CONFIG_DIR=/var/minio-conf
128128MC_PREFIX=" mc -C $CONFIG_DIR --quiet"
129- $MC_PREFIX config host all " $HTTP_PREFIX ://$S3EP " $ACCESS_KEY $ACCESS_SECRET
129+ $MC_PREFIX config host add " $HTTP_PREFIX ://$S3EP " $ACCESS_KEY $ACCESS_SECRET
130130$MC_PREFIX mb " $HTTP_PREFIX ://${S3EP} /git"
131131$MC_PREFIX cp ${APP_NAME} .tar.gz $TAR_URL
132132echo " stored tarfile in $TAR_URL "
You can’t perform that action at this time.
0 commit comments