Skip to content

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

Open
aaron-y-chen wants to merge 1 commit into
apache:chart/v1-2x-testfrom
aaron-y-chen:webserver-httproute-v1-2x
Open

Add Webserver HTTPRoute support to the Helm chart 1.2x line#70425
aaron-y-chen wants to merge 1 commit 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants