feat(billing): read entitlements config for keycloak #630
Inga granskare
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!630
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "feat/billing-keycloak-env"
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?
Refs bitborg/bitborg-payment#111.
What
billing.env.j2:KEYCLOAK_URL,KEYCLOAK_REALM,KEYCLOAK_CLIENT_ID=bitborg-billing,KEYCLOAK_CLIENT_SECRETreplaceKANIDM_API_URLandKANIDM_PAYMENT_TOKEN.NODE_EXTRA_CA_CERTSis dropped: the public Keycloak URL has a public certificate.tasks/main.yml: assertsvault_keycloak_billing_client_secretinstead of the Kanidm token.After=postgres.service, Kanidm chain volume removed.bitborg_billing_image_tagmoves tov0.10.0(released), which reads the new env. Env and image ship together.Effect
Prod has
billing_enabled: false, so the role is skipped there. Staging runs billing and picks this up on the next apply.Verify on staging
./scripts/apply-reconcile.sh --yes -- -i inventory/staging.yml --limit bitborg-staging --tags billingThen a test-mode payment moves the account into
tier_pro.