fix(kanidm): account-policy gate needs Caddy on a fresh host #562
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
priority
high
priority
low
priority
medium
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-infra#562
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "%!s()"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
On a fresh host with the reconciler token already in the vault,
site.ymlfails in the kanidm role:The task reads
{{ kanidm_url }}, the publichttps://auth...name. Caddy serves that name, and the caddy role runs after kanidm, forgejo, billing and web. Kanidm itself was up and ready.Found in the staging tear-down rehearsal (staging VM destroyed and re-created, data volume kept). Workaround used:
site.yml --tags caddy, then the fullsite.yml. A prod rebuild from backup would hit the same.Done when a fresh-host converge passes in one run. Options: read the policy from the host over
https://127.0.0.1:{{ kanidm_bind_port }}with the Host header set (Kanidm serves its own certificate), or move the gate after the caddy role.Superseded: Kanidm is being replaced by Keycloak before launch (bitborg/bitborg-docs#127). This Kanidm-specific work is no longer needed.