Skip to content

Add Webserver HTTPRoute support to the Helm chart 1.2x line - #70425

Merged
Miretpl merged 6 commits into
apache:chart/v1-2x-testfrom
aaron-y-chen:webserver-httproute-v1-2x
Aug 1, 2026
Merged

Add Webserver HTTPRoute support to the Helm chart 1.2x line#70425
Miretpl merged 6 commits into
apache:chart/v1-2x-testfrom
aaron-y-chen:webserver-httproute-v1-2x

Conversation

@aaron-y-chen

Copy link
Copy Markdown
Contributor

closes: #61452

Summary

This adds Helm chart support for exposing the Webserver with Kubernetes Gateway API HTTPRoute on the 1.2x chart line (Airflow 2.x).

  • adds webserver.httpRoute values, schema, template, tests, and docs;
  • routes the default backend to the Webserver service on ports.airflowUI;
  • supports custom labels, annotations, hostnames, parentRefs, path settings, and full rules override;
  • renders only for Airflow 2 (airflowVersion < 3.0.0), where the Webserver exists — on Airflow 3 the API Server replaces it;
  • fails fast when Webserver Ingress and Webserver HTTPRoute are both enabled (guarded from both the HTTPRoute and the Ingress template);
  • extracts the shared httpRoute schema into definitions.httpRoute so apiServer, flower, and webserver reference one definition instead of three near-identical copies.

Validation

E2E screenshot through the Gateway API path (Envoy Gateway, Airflow 2.11):

61452_webserver_httproute

The port-forward targets the Envoy Gateway dataplane service and the URL host airflow.localhost is the Gateway listener hostname, so the request path is:

browser -> Envoy Gateway service -> Gateway listener -> Webserver HTTPRoute -> airflow-webserver service

Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

Generated-by: [Claude Opus 4.8] following the guidelines


  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

@bujjibabukatta bujjibabukatta left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changes looks good .

@aaron-y-chen
aaron-y-chen marked this pull request as ready for review July 25, 2026 06:57
@potiuk potiuk added the ready for maintainer review Set after triaging when all criteria pass. label Jul 28, 2026
Comment thread chart/docs/production-guide.rst Outdated
Comment thread chart/values.schema.json
Comment thread chart/values.yaml Outdated
Comment thread helm-tests/tests/helm_tests/airflow_aux/test_basic_helm_chart.py
Comment thread helm-tests/tests/helm_tests/webserver/test_httproute_webserver.py Outdated
aaron-y-chen and others added 3 commits July 29, 2026 17:38
Co-authored-by: Przemysław Mirowski <17602603+Miretpl@users.noreply.github.com>
Co-authored-by: Przemysław Mirowski <17602603+Miretpl@users.noreply.github.com>
Co-authored-by: Przemysław Mirowski <17602603+Miretpl@users.noreply.github.com>
Comment thread helm-tests/tests/helm_tests/airflow_aux/test_basic_helm_chart.py
@Miretpl Miretpl added this to the Airflow Helm Chart 1.23.0 milestone Jul 30, 2026
@Miretpl
Miretpl merged commit a5caeec into apache:chart/v1-2x-test Aug 1, 2026
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:helm-chart Airflow Helm Chart kind:documentation ready for maintainer review Set after triaging when all criteria pass.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants