Commit 1b660a7d authored by Jorge Moratinos's avatar Jorge Moratinos
Browse files

Added vault file name related with environment

parent 131577dc
Loading
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -164,6 +164,9 @@ if [ -f "$ENV_FILE" ]; then
    set -a
    source "$ENV_FILE"
    set +a
    ## File to store key and token
    export VAULT_FILE="$HELM_DIR/vault_keys_$ENVIRONMENT.txt"

else
    echo "Environment file not found: $ENV_FILE. Using default values."
fi