From 9a2cdb0531d58c3665f2944fc737af362c04d289 Mon Sep 17 00:00:00 2001 From: Josh Smith Date: Sun, 16 Jun 2024 00:24:36 -0400 Subject: [PATCH] Switch vault to use $APP_ENV --- scripts/run-bot.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/run-bot.sh b/scripts/run-bot.sh index 6c41cc8..7ca3f3e 100755 --- a/scripts/run-bot.sh +++ b/scripts/run-bot.sh @@ -12,8 +12,7 @@ if [ -z "$APP_COMPONENT" ]; then fi if [[ $PULL_SECRETS_FROM_VAULT -eq 1 ]]; then - # TODO: revert to $APP_ENV - akatsuki vault get ai-discord-bot production-k8s -o .env + akatsuki vault get ai-discord-bot $APP_ENV -o .env source .env fi