Repository navigation
Description
Why?
proTES's Helm chart (2.0.1) predates the conventions of the FOCA apps: it uses an extensions/v1beta1 Ingress (removed in Kubernetes 1.22), exposes Flower with the default credentials admin:admin (Flower shows task arguments), runs RabbitMQ with guest:guest, deploys latest images, has no NetworkPolicies, Secrets for app credentials, config overlays or tests, and mixes key styles. FOCA's foca-common library chart (elixir-cloud-aai/foca#312) implements the conventions once; cloud-registry moves to it (elixir-cloud-aai/cloud-registry#158), and elixir-cloud-aai/foca#351 (in progress) adds the Celery worker and broker that proTES needs.
How?
- Replace
deployment/with a thin app chart onfoca-common(dependency fromoci://ghcr.io/elixir-cloud-aai/charts): appDeploymentwith the config overlay,Service, Ingress or Route, MongoDB, the Celery worker and broker (feat(chart): add Celery worker and broker foca#351), NetworkPolicies, camelCase values,values.schema.json. - Secrets for MongoDB, the broker (
CELERY_BROKER_URL) and proTES's client-credentials client (feat!: call TES backends with service tokens #213). - Flower optional, off by default, with credentials from a Secret when on.
- Chart tests and
helm lint --strictin CI, chart README in the docs, upgrade notes (values renamed; new chart).
Acceptance criteria
- The chart deploys proTES, the worker, MongoDB and the broker with NetworkPolicies and no default credentials; Flower only when enabled.
- Chart tests and lint pass in CI; documented, with upgrade notes.
Blocked by #213, and by elixir-cloud-aai/foca#351 (in progress) and a foca-common release that includes it.
Activity