diff --git a/run.sh b/run.sh index 1e1a60c..8b144ed 100755 --- a/run.sh +++ b/run.sh @@ -35,11 +35,14 @@ if [ ! -f "/etc/config/kube.yml" ]; then exit 2 fi +AUCTION_OPTS="" if [ "$HANDLE_AUCTION_REQUESTS" = "true" ]; then if [ -z "$AUCTION_BID_AMOUNT" ]; then echo "AUCTION_BID_AMOUNT is required when handling auction requsts." exit 2 fi + + AUCTION_OPTS="--auction-requests" fi STORAGE_ROOT="${STORAGE_ROOT:-/srv}" @@ -159,6 +162,7 @@ while true; do --config-upload-dir "$UPLOAD_DIRECTORY" \ --private-key-file "$OPENPGP_PRIVATE_KEY_FILE" \ --private-key-passphrase "$OPENPGP_PASSPHRASE" \ + $AUCTION_OPTS \ $LOG_OPTS \ $EXTRA_DEPLOY_OPTS \ $UPDATE_OPTS \