feat(api): read canonical INFISICAL_ADDRESS for the readiness probe (GOV-50) #515
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/PMS-768-canonical-infisical-address"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Converges mokosh-server's runtime Infisical var onto the canonical set (GOV-50 / PMS-768).
Change
mokosh-server's only runtime Infisical read is the readiness probe (
src/api/router.rs); the fullInfisicalClientis dormant. The probe now readsINFISICAL_ADDRESS, falling back to the legacyINFISICAL_BASE_URLfor one release (expand). The readiness integration test blanks both names.Not touched
INFISICAL_ENVIRONMENT(read only by the bootstrap CLI, not the runtime) and the dormantInfisicalClientstay as-is.Deploy note
The container var (compose.dev.yml, and the docker repo c-01/nc-01
compose-secrets.yml) is stillINFISICAL_BASE_URL; the fallback keeps it working. Migrate it toINFISICAL_ADDRESS(a SOPS edit for the deploy) when ready, then drop the fallback (contract).Verification
No local cargo on this box; CI runs fmt/clippy/tests. The probe's blank-is-unconfigured unit tests are value-based (not env-name), so unaffected; the readiness integration test now blanks both names.