Repository navigation
Helm chart for store - #4
Merged
Merged
Conversation
…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.
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.
A generic chart for store, running its public images (store #11 publishes them).
What it runs
/healthz.dbmate --wait up, from the store image).qgisProject.enabled, needs the DB host as QGIS users see it) and the historical county lines (counties.enabled).What it doesn't
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. Frommain, publishes each chart whose version isn't out yet tooci://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),
/healthzanswers,lineage-store token createandagent addrun in the pod and the token works;helm upgradereruns the Jobs and changes nothing.appVersionismainfor now; pinimage.tagto asha-tag in real use, and we can move it to releases once store tags them.