Skip to content

Helm chart exposes the FHIR API on a NodePort while authorisation is off by default #2984

Backlog

Description

@johngrimes

The pathling-fhir Service in the chart has a fixed type of NodePort (deployment/helm/pathling/templates/service.yaml:6). The type is not a value, and values.schema.json has no key for it. The chart's default config is empty (deployment/helm/pathling/values.yaml:25), and the server's default is pathling.auth.enabled: false (server/src/main/resources/application.yml:86).

An install with default values therefore publishes the FHIR API on a port of every node in the cluster, with every operation available to any client that can reach a node address: read, search, update, delete, batch, $import, $export, $sql-run and the rest. Whether a node port is reachable from outside the cluster depends on the environment. It usually is for on-premises and single-node clusters, which are what the hostPath examples in the chart README describe.

This is from reading the chart. I did not deploy it.

Suggested changes:

  • Add a pathling.service.type value that defaults to ClusterIP, leaving external exposure to an Ingress or an explicit choice.
  • State in the chart README that authorisation is off unless configured.

Activity

  1. added
    security
    helm
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    helmsecurity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions