We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4a790da + cc9ab8c commit ce4ba39Copy full SHA for ce4ba39
rootfs/bin/normalize_storage
@@ -1,8 +1,9 @@
1
#!/usr/bin/env bash
2
export BUCKET_FILE=/var/run/secrets/deis/objectstore/creds/builder-bucket
3
if [ "$BUILDER_STORAGE" == "minio" ]; then
4
+ MINIO_BUCKET_NAME=${MINIO_BUCKET:-git}
5
mkdir -p /app/objectstore/minio/
- echo "git" > /app/objectstore/minio/builder-bucket
6
+ echo "$MINIO_BUCKET_NAME" > /app/objectstore/minio/builder-bucket
7
export BUCKET_FILE=/app/objectstore/minio/builder-bucket
8
elif [ "$BUILDER_STORAGE" == "azure" ] || [ "$BUILDER_STORAGE" == "swift" ] ; then
9
export CONTAINER_FILE=/var/run/secrets/deis/objectstore/creds/builder-container
0 commit comments