From c9fc9ad53a776e045a54b1d2f98c7d7c9d903f3e Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Thu, 3 Oct 2024 17:19:08 +0530 Subject: [PATCH] Pass flag to allow auction requests --- run.sh | 4 ++++ 1 file changed, 4 insertions(+) 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 \