aaron-y-chen commented on code in PR #70425:
URL: https://github.com/apache/airflow/pull/70425#discussion_r3672942365


##########
chart/docs/production-guide.rst:
##########
@@ -429,13 +429,35 @@ the chart only creates the ``HTTPRoute`` resources and 
attaches them to the Gate
        hostnames:
          - flower.example.com
 
+The Webserver exists only on Airflow 2 (the API server replaces it on Airflow 
3), so its ``HTTPRoute``
+is configured in an Airflow 2 deployment:
+
+.. code-block:: yaml
+   :caption: values.yaml (Airflow 2)
+
+   defaultAirflowTag: "2.11.0"
+   airflowVersion: "2.11.0"
+
+   webserver:
+     httpRoute:
+       enabled: true
+       parentRefs:
+         - name: main-gateway
+           namespace: gateway-system
+           sectionName: https
+       hostnames:
+         - airflow.example.com
+
 Flower HTTPRoute resources are only created when Flower itself is created, so 
``flower.enabled`` must be
 ``true`` and the executor must include ``CeleryExecutor`` or 
``CeleryKubernetesExecutor``.
-
-For fine-grained routing, supply ``apiServer.httpRoute.rules`` or 
``flower.httpRoute.rules`` directly —
-the entry mirrors the upstream ``HTTPRouteRule`` schema and overrides the 
default rule generated from
-the corresponding ``apiServer.httpRoute.path`` and 
``apiServer.httpRoute.pathType``, or
-``flower.httpRoute.path`` and ``flower.httpRoute.pathType`` values.
+Webserver HTTPRoute resources are only created for Airflow 2 deployments 
(``airflowVersion`` < 3.0.0).

Review Comment:
   Thanks



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to