[infra] vault + chsettle + aurora for dev

This commit is contained in:
Stephan D
2026-03-16 19:50:05 +01:00
parent 5b1aca86e7
commit 89edf33c2c
51 changed files with 1606 additions and 62 deletions

View File

@@ -86,6 +86,16 @@ load_runtime_env_bundle() {
env_name="$1"
runtime_file="$(resolve_runtime_env_file "${env_name}")"
if [ -n "${VAULT_ADDR:-}" ] && [ -z "${CI_VAULT_ADDR:-}" ]; then
export CI_VAULT_ADDR="${VAULT_ADDR}"
fi
if [ -n "${VAULT_ROLE_ID:-}" ] && [ -z "${CI_VAULT_ROLE_ID:-}" ]; then
export CI_VAULT_ROLE_ID="${VAULT_ROLE_ID}"
fi
if [ -n "${VAULT_SECRET_ID:-}" ] && [ -z "${CI_VAULT_SECRET_ID:-}" ]; then
export CI_VAULT_SECRET_ID="${VAULT_SECRET_ID}"
fi
normalize_env_file "${runtime_file}"
normalize_env_file ./.env.version