feat: add xapi-lrs chart - #155
Open
emmanuel wants to merge 1 commit into
Open
Conversation
emmanuel
force-pushed
the
feat/add-xapi-lrs
branch
from
July 10, 2026 22:45
230e54c to
5481502
Compare
xapi-lrs
emmanuel
force-pushed
the
feat/add-xapi-lrs
branch
from
July 11, 2026 22:42
5481502 to
2ca5cbc
Compare
xapi-lrsxapi-lrs chart
emmanuel
force-pushed
the
feat/add-xapi-lrs
branch
5 times, most recently
from
July 16, 2026 01:17
cc24fda to
b5c834a
Compare
emmanuel
force-pushed
the
feat/add-xapi-lrs
branch
from
July 16, 2026 06:52
b5c834a to
0c45e9d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.*). Settingdatabase.driver=pgliteruns the embedded single-connection engine instead, optionally persisted to a PVC. That mode is for dev clusters; the chart enforcesreplicaCount=1there.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.existingSecretis 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 templateacross the pg/pglite/existingSecret/DATABASE_URL permutations.