Skip to content

feat(skore-hub-backend): add TOML ConfigMap for readable configuration - #13

Draft
jerome-probabl wants to merge 1 commit into
mainfrom
feat/skore-hub-backend-configmap
Draft

feat(skore-hub-backend): add TOML ConfigMap for readable configuration#13
jerome-probabl wants to merge 1 commit into
mainfrom
feat/skore-hub-backend-configmap

Conversation

@jerome-probabl

Copy link
Copy Markdown
Collaborator

Add an optional ConfigMap that mounts a TOML config file (skh.config) and injects SKH_CONFIG_FILE into both the Deployment and migrations Job. TOML takes priority over SKH__* env vars, so secrets remain in extraEnv/envSecret while non-sensitive settings move to a readable, config.sample.toml-style file. A checksum pod annotation rolls out pods and re-runs migrations on config change. Disabled by default; existing env-var-only behavior is unchanged.

@jerome-probabl
jerome-probabl force-pushed the feat/skore-hub-backend-configmap branch from 4e590b5 to a39cc7f Compare August 4, 2026 08:34
Add an optional ConfigMap that mounts a TOML config file (skh.config)
and injects SKH_CONFIG_FILE into both the Deployment and migrations Job.
TOML takes priority over SKH__* env vars, so secrets remain in
extraEnv/envSecret while non-sensitive settings move to a readable,
config.sample.toml-style file. A checksum pod annotation rolls out pods
and re-runs migrations on config change. Disabled by default; existing
env-var-only behavior is unchanged.

The migrations Job also gains the .Values.volumes/.Values.volumeMounts
passthrough the Deployment already had, so mounts the job needs (e.g. the
PostgreSQL CA certificate) are no longer dropped.

Bump the chart to 0.1.10 (0.1.9 on main) as ct lint requires a version
increment, and link values.example.yaml by repository URL: a relative
path escaping docs_dir fails `mkdocs build --strict`.
@jerome-probabl
jerome-probabl force-pushed the feat/skore-hub-backend-configmap branch from a39cc7f to 2847c91 Compare August 5, 2026 15:56
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