File tree Expand file tree Collapse file tree
rootfs/etc/confd/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -118,10 +118,10 @@ ACCESS_KEY=`cat /var/run/secrets/object/store/access-key-id`
118118ACCESS_SECRET=` cat /var/run/secrets/object/store/access-secret-key`
119119mkdir -p /var/minio-conf
120120CONFIG_DIR=/var/minio-conf
121- echo " mc -C $CONFIG_DIR config host add " http:// $S3EP " $ACCESS_KEY $ACCESS_SECRET "
122- mc -C $CONFIG_DIR --quiet config host add " http ://$S3EP " $ACCESS_KEY $ACCESS_SECRET
123- mc -C $CONFIG_DIR --quiet mb " ${S3EP} /git"
124- mc -C $CONFIG_DIR --quiet cp ${APP_NAME} .tar.gz $TAR_URL
121+ MC_PREFIX= " mc -C $CONFIG_DIR --quiet "
122+ $MC_PREFIX config host all " https ://$S3EP " $ACCESS_KEY $ACCESS_SECRET
123+ $MC_PREFIX mb " ${S3EP} /git"
124+ $MC_PREFIX cp ${APP_NAME} .tar.gz $TAR_URL
125125echo " stored tarfile in $TAR_URL "
126126
127127kubectl create -f /etc/${SLUG_NAME} .yaml
You can’t perform that action at this time.
0 commit comments