Skip to content

Helm chart for store - #4

Merged
nickmarden merged 1 commit into
mainfrom
store-chart
Nov 13, 2026
Merged

nickmarden merged 1 commit into
mainfrom
store-chart

Conversation

@nickmarden

Copy link
Copy Markdown
Member

A generic chart for store, running its public images (store #11 publishes them).

What it runs

  • The API (Deployment, Service, optional Ingress), probes on /healthz.
  • A migrate Job before every install and upgrade (dbmate --wait up, from the store image).
  • Optional Jobs after install and upgrade: the ready-made QGIS project (qgisProject.enabled, needs the DB host as QGIS users see it) and the historical county lines (counties.enabled).

What it doesn't

  • No database. Store runs against PostGIS you provide (L-0006); the URL comes from a Secret you make (database.existingSecret). No hostnames, secrets or environment values in the chart (L-0009).

Pods run as uid 10001, read-only root filesystem, no capabilities, no service account token.

CI (.github/workflows/charts.yml): lint, render with every option on, validate with kubeconform, then install in kind against a throwaway PostGIS (charts/store/ci/postgis.yaml) and upgrade. From main, publishes each chart whose version isn't out yet to oci://ghcr.io/line-age/charts.

Order: the kind install pulls ghcr.io/line-age/store:main, which exists once store #11 is merged and has published (and the package is public). Until then that job fails here; the lint and validation jobs don't depend on it.

Checked locally in kind with images built from store #11: install in 28 s with everything on (4 migrations, 4,307 county versions, the QGIS project and style), /healthz answers, lineage-store token create and agent add run in the pod and the token works; helm upgrade reruns the Jobs and changes nothing.

appVersion is main for now; pin image.tag to a sha- tag in real use, and we can move it to releases once store tags them.

…y lines

Generic (L-0006, L-0009): no database, hostnames or secrets; the database URL comes from a
Secret the operator makes. Migrations run as a pre-install/pre-upgrade Job from the store
image. CI lints, validates, installs in kind from the published images, and publishes
charts to oci://ghcr.io/line-age/charts from main.
@nickmarden
nickmarden requested a review from a team as a code owner November 13, 2026 02:52
@nickmarden
nickmarden merged commit 9e6164f into main Nov 13, 2026
5 of 6 checks passed
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