Skip to content

Add the FME Flow chart based on helm-application - #1

Merged
sbrunner merged 3 commits into
masterfrom
fme-chart-GSGGR-738
Nov 2, 2026
Merged

sbrunner merged 3 commits into
masterfrom
fme-chart-GSGGR-738

Conversation

@sbrunner

@sbrunner sbrunner commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

Summary

Add the fmeflow chart: deploy FME Flow (2024.1 and newer) on top of camptocamp/helm-application, following the helm-geoserver-cloud chart structure (values wrapper + examples + golden tests, ghci helm profile, tag-publish).

Context

  • Goal: replace the Safe Software fmeflow chart (camptocamp/safesoftware-helm-charts fork) used by the argocd-gs-ugsp-apps FME Flow deployments.
  • Related JIRA issue: GSGGR-738

Implementation Details

  • Chart.yaml: depends on application 2.23.0 aliased fmeflow; the chart has no templates of its own, it provides curated default values.
  • Topology modeled with the helm-application services: core (StatefulSet: dbinit initContainer + core/web/fmeutility containers), queue and websocket (StatefulSets, headless services), engine-standard (Deployment with preStop drain hook and terminationGracePeriodSeconds: 300) and engine-dynamic (disabled by default).
  • Naming follows the helm-application conventions (everything is generated from the release name), so several FME Flow instances can be deployed in the same namespace: the inter-component discovery uses the self-metadata ConfigMap (SERVICE_CORE_NAME, ... ) with $(VAR) interpolation, and the system share uses persistentVolumeClaims.data referenced with the self-pvc-data volume magic.
  • Deployment-wide configuration (hostname, database, FME tuning) lives in fmeflow.configMaps.content, injected as environment variables in the containers; the database passwords come from a Secret (fme-database by default).
  • Ingress is opt-in: one Ingress with the web UI (/ -> core service port 8080) and the websocket (/websocket -> 7078), TLS through cert-manager Ingress annotations.
  • MIGRATION.md documents the migration from the Safe Software chart (values mapping, system share and TLS secret takeover, backups, rollback); linked from the README.
  • Examples: basic and external-db-traefik (the integration pattern used by argocd-gs-ugsp-apps), golden files in tests/ generated by the helm-template-gen hook.
  • Scoped out for now (with respect to the upstream chart): embedded PostgreSQL, AWS IRSA, trusted CA certs, the engine pod-deletion-cost sidecar, nginx mergeable ingresses and the remote engine chart.

Testing & Validation

  • helm template on both examples is validated against the golden files; the rendered objects are checked: headless services, StatefulSet serviceName, self-pvc resolution, env ordering (configMapKeyRef before $(...) interpolation), ingress paths/TLS/annotations, fsGroup 1363, engine preStop/grace period.
  • The CI also applies tests/expected-basic.yaml on k3s.

Impact/Risks

@sbrunner sbrunner added the enhancement New feature or request label Oct 28, 2026
@sbrunner
sbrunner requested a review from danduk82 October 29, 2026 15:46
@sbrunner
sbrunner force-pushed the fme-chart-GSGGR-738 branch from eb01e31 to 4f3b329 Compare October 29, 2026 16:17
@sbrunner

Copy link
Copy Markdown
Member Author

The branch has been squashed into a single commit and force-pushed: the queue liveness/readiness probes no longer embed the redis password hardcoded in the upstream Safe Software chart templates (redis-cli -a ...), they are plain tcpSocket probes on port 6379 instead (override the probes in the values if a deeper check is wanted). The string does not appear anywhere in the chart or its history.

@sbrunner
sbrunner merged commit 9fea2eb into master Nov 2, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants