feat/context-openbao-url #339

Merged
johnride merged 3 commits from feat/context-openbao-url into master 2026-06-23 13:25:52 +00:00

3 Commits

Author SHA1 Message Date
fc80df580c refactor(config): thread OpenBao + Zitadel URLs via openbao_source
All checks were successful
Run Check Script / check (pull_request) Successful in 2m48s
Replace openbao_from_env_with_url with openbao_source(namespace, openbao_url,
zitadel_sso_url): each URL overrides its env var (OPENBAO_URL/VAULT_ADDR,
HARMONY_SSO_URL) when Some, else falls through to env. The deploy context passes
its openbao_url + zitadel_url straight into the source instead of mutating
process env — drops the unsafe set_var. ClusterAccess is read from an
OpenBao-only client and the resolve match collapses back to one OpenBao arm.
2026-06-23 09:11:50 -04:00
ad12ba3fd4 feat(context): clearer deploy logs + honor zitadel_url
INFO now states the resolved context, profile, and which cluster source is used
(autoprovision k3d / existing k3d / OpenBao); DEBUG dumps the context definition.
Wire the context's zitadel_url into HARMONY_SSO_URL so the OpenBao rung uses it
instead of silently falling back to the ambient env.
2026-06-23 08:51:55 -04:00
e6eadd321c feat(context): load OpenBao URL from the deploy context
AppContext parses openbao_url/zitadel_url and builds the OpenBao config source
from the context URL via harmony_config::openbao_from_env_with_url, instead of
requiring OPENBAO_URL in the ambient env. A prod context can point at its own
OpenBao directly.
2026-06-22 23:23:45 -04:00