Skip to content

feat(hapi-fhir): add HAPI FHIR chart with plain, untemplated manifests - #243

Merged
vladd-bit merged 4 commits into
mainfrom
feat/hapi-fhir-chart
Nov 27, 2026
Merged

vladd-bit merged 4 commits into
mainfrom
feat/hapi-fhir-chart

Conversation

@mooperd

@mooperd mooperd commented Nov 27, 2026 •

Copy link
Copy Markdown
Collaborator

⚪ Test environment removed

The environment for this PR has been torn down. If the PR is still open, re-run the GKE deployment test job or push a commit to bring it back.

Updated 2026-11-27 10:47 UTC · workflow run

What

Adds deployment/charts/hapi-fhir: a HAPI FHIR JPA server (FHIR R4) with PostgreSQL as the resource store and a single-node Elasticsearch as its full-text index, which answers _text and _content searches.

Workload Image Service Storage
hapi-fhir hapiproject/hapi:v8.12.0-2 hapi-fhir:8080 none
hapi-fhir-db postgres:16-alpine hapi-fhir-db:5432 10Gi PVC
hapi-fhir-es docker.elastic.co/elasticsearch/elasticsearch:8.19.19 hapi-fhir-es:9200 10Gi PVC

Helm in spirit only

The files in templates/ are plain Kubernetes YAML. They contain no {{ }} expressions, and values.yaml holds only a comment. helm template prints the manifests as they are written. Helm is used to package, version, install and remove the chart, and for nothing else.

What follows from that:

  • Fixed resource names. One release per namespace.
  • No --set. To change an image, a size or a setting, edit the manifests.
  • No Ingress or HTTPRoute. A hostname cannot be set without templating, so the chart creates ClusterIP Services only. The README shows a port-forward and says where to point your own route.
  • No restart on a configuration change. HAPI reads its ConfigMap at startup, so an upgrade that changes it needs kubectl rollout restart deployment/hapi-fhir.
  • The database password is not in the chart. Create the hapi-fhir-db Secret (key POSTGRES_PASSWORD) before installing. The README has the command.

Wiring

  • release-please-config.json and .release-please-manifest.json: registers the chart as helm-charts/hapi-fhir, first release 0.1.0, the same way as nifi and nginx.
  • build_helm_charts.yml: ct lint covers the chart. ct install skips it (--excluded-charts hapi-fhir), because its pods need the hapi-fhir-db Secret and, with no values, it cannot be scaled to zero like the other charts' ci-values.yaml do.
  • deployment/charts/README.md: a short section on the chart and a note on the CI skip.

Testing

  • helm lint passes and helm package builds hapi-fhir-0.1.0.tgz.
  • helm template renders 9 resources: 2 PersistentVolumeClaims, 3 Deployments, 3 Services, 1 ConfigMap.
  • Not installed on a cluster in this PR. ct lint runs here for the first time, in CI.

🤖 Generated with Claude Code

mooperd and others added 4 commits November 27, 2026 09:28
HAPI FHIR JPA server (R4) with PostgreSQL as the store and a single-node
Elasticsearch as the full-text index for _text and _content.

The chart's templates are plain Kubernetes YAML with no Helm template
expressions and no values. Helm packages, versions, installs and removes
it; the manifests are applied as written.

The hapi-fhir-db Secret is created outside the chart, so CI lints the
chart and skips the chart-testing install.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@vladd-bit
vladd-bit merged commit 5f14a72 into main Nov 27, 2026
13 checks passed
@vladd-bit
vladd-bit deleted the feat/hapi-fhir-chart branch November 27, 2026 10:39
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.

2 participants