Repository navigation
Closed
Labels
priority: highHigh prioritytype: deliveryRelated to packaging, deployment etc.type: featureNew feature or requestworkload: daysLikely takes days to resolve
Description
Why?
Child of #312 (shared Helm library chart for FOCA apps): the core library chart, extracted from cloud-registry's chart v3, so cloud-registry v0.3.0 (the template app) and then proTES and other apps use one chart implementation.
Decisions (user, 2026-10-21), answering #312's open questions:
- A library chart (
type: library, e.g.foca-common) with named templates; apps keep thin charts and can add their own resources. - It lives in this repo under
charts/, versioned independently of FOCA with its own tags (e.g.chart-v0.1.0), published as an OCI artifact tooci://ghcr.io/elixir-cloud-aai/charts. - The bundled MongoDB stays (optional; external databases remain possible).
How?
- Templates, extracted from cloud-registry's
deployment/(chart v3), each optional through values, following Helm conventions (camelCase values):- app
Deployment(image, resources, non-rootsecurityContextfor OpenShift, probes,enableServiceLinks: false); ConfigMapwith theFOCA_CONFIG_OVERLAYfile rendered from.Values.config, mounted as a directory, with achecksum/configannotation;- Secret wiring (
existingSecret-style values →MONGO_*variables viasecretKeyRef); Service,Ingress, OpenShiftRoute;NetworkPolicyfor the app and for MongoDB (as in cloud-registry);- optional MongoDB (
Deployment,Service,PVC, auth, init script).
- app
values.schema.jsonfor the library's values (apps can extend it).- CI:
helm lint, template snapshot tests with a thin chart for the petstore example; the install test on a kind cluster (chart-testing) is ci(chart): install test on kind and GHCR release #356. - Docs: a page on building an app chart on top of the library chart, extending the Kubernetes deployment guide.
The kind install test and the release workflow are split off into #356. The Celery worker and broker for proTES/proWES come later (separate child of #312).
Acceptance criteria
- The library chart renders everything cloud-registry's chart v3 does, with the same values structure; tests cover it.
- Documented.
Metadata
Metadata
Assignees
Labels
priority: highHigh prioritytype: deliveryRelated to packaging, deployment etc.type: featureNew feature or requestworkload: daysLikely takes days to resolve
Activity
uniqueg commentedon Oct 21, 2026
Done in #357.