forked from baron/baron-sso
chore: consolidate local integration changes
This commit is contained in:
@@ -7,6 +7,18 @@ BARON_DB_NAME="${BARON_DB_NAME:-baron_sso}"
|
||||
KRATOS_CONTAINER="${KRATOS_CONTAINER:-ory_postgres}"
|
||||
KRATOS_DB_USER="${KRATOS_DB_USER:-ory}"
|
||||
KRATOS_DB_NAME="${KRATOS_DB_NAME:-ory_kratos}"
|
||||
CONFIRM_KRATOS_DB_MAINTENANCE="${CONFIRM_KRATOS_DB_MAINTENANCE:-}"
|
||||
MARK_IDENTITY_MIRROR_STALE="${MARK_IDENTITY_MIRROR_STALE:-false}"
|
||||
|
||||
if [[ "${CONFIRM_KRATOS_DB_MAINTENANCE}" != "baron-sso" ]]; then
|
||||
echo "ERROR: CONFIRM_KRATOS_DB_MAINTENANCE=baron-sso is required before directly updating Kratos DB." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ "${MARK_IDENTITY_MIRROR_STALE}" != "true" ]]; then
|
||||
echo "ERROR: MARK_IDENTITY_MIRROR_STALE=true is required after marking the Redis identity mirror stale." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user