Skip to content

feat: add xapi-lrs chart - #155

Open
emmanuel wants to merge 1 commit into
mainfrom
feat/add-xapi-lrs
Open

feat: add xapi-lrs chart#155
emmanuel wants to merge 1 commit into
mainfrom
feat/add-xapi-lrs

Conversation

@emmanuel

@emmanuel emmanuel commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Adds a chart for xapi-lrs, our xAPI Learning Record Store.

It connects to an external PostgreSQL by default (database.driver=pg), with schema migrations in an init container so migrations can run as a role with DDL permissions while the runtime user stays DML-only (migration.postgresql.*). Setting database.driver=pglite runs the embedded single-connection engine instead, optionally persisted to a PVC. That mode is for dev clusters; the chart enforces replicaCount=1 there.

Ingress and Gateway API (HTTPRoute + optional ListenerSet, same shape as the lrsql chart) route to the xAPI port only. The admin port (health probes, metrics) stays on the Service, with an optional ServiceMonitor for scraping. Credentials live in a chart-managed Secret unless auth.existingSecret is set.

Unlike lrsql this chart doesn't pull in bitnami common; it was only being used for image/label helpers and pre-1.19 ingress API detection.

Env vars use the canonical XAPI_LRS_* prefix from pelotech/xapi-lrs#59, and the chart pins app v0.7.0 (the release that introduced it).

Tested with helm template across the pg/pglite/existingSecret/DATABASE_URL permutations.

@emmanuel
emmanuel force-pushed the feat/add-xapi-lrs branch from 230e54c to 5481502 Compare July 10, 2026 22:45
@emmanuel emmanuel changed the title feat(xapi-lrs): add chart for the xapi-lrs Learning Record Store feat(xapi-lrs): add chart for xapi-lrs Jul 10, 2026
@emmanuel
emmanuel force-pushed the feat/add-xapi-lrs branch from 5481502 to 2ca5cbc Compare July 11, 2026 22:42
@emmanuel emmanuel changed the title feat(xapi-lrs): add chart for xapi-lrs feat: add xapi-lrs chart Jul 11, 2026
@emmanuel
emmanuel force-pushed the feat/add-xapi-lrs branch 5 times, most recently from cc24fda to b5c834a Compare July 16, 2026 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant