Skip to content

add support for Istio ingress - #735

Open
htech7x wants to merge 23 commits into
masterfrom
fit-istio
Open

add support for Istio ingress#735
htech7x wants to merge 23 commits into
masterfrom
fit-istio

Conversation

@htech7x

@htech7x htech7x commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

Description

Adding support for Istio ingress

Related Issues

https://linear.app/astronomer/issue/APC-1423/add-optional-istio-ingress-support-to-apc-helm-chart

Testing

Testing was conducted for APC 1.1.5 in unified mode.

Merging

@pgvishnuram

Copy link
Copy Markdown
Contributor

@htech7x git sync relay virtualhost missing we are using that for receiving webhook

@pgvishnuram
pgvishnuram requested a review from a team as a code owner June 26, 2026 05:05
@pgvishnuram

Copy link
Copy Markdown
Contributor

added missing gitsync templates for webhook

@pgvishnuram

Copy link
Copy Markdown
Contributor

2 decisions
pending since istio needs authsidecar as a hard requirement - we should decided to link with authsidecar enabled - this can be injected from houston api itself

instead of airflow.istio.enabled should we move to istio.enabled making it as astronomer managed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds optional Istio ingress support to the Airflow Helm chart by introducing Istio VirtualService resources for UI/API and related endpoints, and conditionally disabling certain Kubernetes Ingress resources when Istio is enabled.

Changes:

  • Introduces airflow.istio.enabled flag in values.yaml.
  • Adds Istio VirtualService templates for webserver (Airflow <3), API server (Airflow >=3), Flower, DAG server, and git-sync-relay webhook.
  • Prevents creating some Kubernetes Ingress resources when Istio is enabled (dag-server and git-sync-relay webhook ingress).

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
values.yaml Adds airflow.istio.enabled configuration toggle.
templates/webserver/webserver-virtualservice.yaml Adds Istio VirtualService for Airflow webserver routing.
templates/api-server/api-server-virtualservice.yaml Adds Istio VirtualService for Airflow API server routing (Airflow >=3).
templates/flower/flower-virtualservice.yaml Adds Istio VirtualService for Flower routing (CeleryExecutor).
templates/dag-deploy/dag-server-virtualservice.yaml Adds Istio VirtualService for DAG server routing.
templates/git-sync-relay/git-sync-relay-virtualservice.yaml Adds Istio VirtualService for git-sync-relay webhook routing.
templates/ingress.yaml Disables dag-server Ingress when Istio is enabled.
templates/git-sync-relay/git-sync-relay-ingress.yaml Disables git-sync-relay webhook Ingress when Istio is enabled.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread templates/webserver/webserver-virtualservice.yaml
Comment thread templates/api-server/api-server-virtualservice.yaml
Comment thread templates/dag-deploy/dag-server-virtualservice.yaml
Comment thread templates/git-sync-relay/git-sync-relay-virtualservice.yaml
Comment thread templates/git-sync-relay/git-sync-relay-virtualservice.yaml Outdated
Comment thread templates/ingress.yaml
{{- end }}
{{- end }}
{{- if and .Values.dagDeploy.enabled }}
{{- if and .Values.dagDeploy.enabled (not .Values.airflow.istio.enabled) }}
Comment thread templates/flower/flower-virtualservice.yaml

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 8 out of 8 changed files in this pull request and generated 12 comments.

Comment thread values.yaml
Comment on lines +6 to +8
# istio config section
istio:
enabled: false
Comment on lines +45 to +56
hosts:
- {{- include "deployments_subdomain" . | indent 1 }}
{{- if hasKey .Values.airflow.istio "gateway" }}
gateways:
- {{ .Values.airflow.istio.gateway }}
{{- end }}
http:
# Webserver routes
- match:
- uri:
prefix: "/{{ .Release.Name }}/airflow"
route:
Comment on lines +47 to +50
{{- if hasKey .Values.airflow.istio "gateway" }}
gateways:
- {{ .Values.airflow.istio.gateway }}
{{- end }}
Comment on lines +23 to +25
{{- if and .Values.airflow.istio.enabled (semverCompare "<3.0.0" .Values.airflow.airflowVersion) }}
{{- $fullname := include "airflow.fullname" . }}
apiVersion: networking.istio.io/v1
Comment on lines +45 to +56
hosts:
- {{- include "deployments_subdomain" . | indent 1 }}
{{- if hasKey .Values.airflow.istio "gateway" }}
gateways:
- {{ .Values.airflow.istio.gateway }}
{{- end }}
http:
# API Server routes
- match:
- uri:
prefix: "/{{ .Release.Name }}/airflow"
route:
Comment on lines +47 to +50
{{- if hasKey .Values.airflow.istio "gateway" }}
gateways:
- {{ .Values.airflow.istio.gateway }}
{{- end }}
Comment on lines +47 to +50
{{- if hasKey .Values.airflow.istio "gateway" }}
gateways:
- {{ .Values.airflow.istio.gateway }}
{{- end }}
Comment on lines +47 to +50
{{- if hasKey .Values.airflow.istio "gateway" }}
gateways:
- {{ .Values.airflow.istio.gateway }}
{{- end }}
Comment thread templates/ingress.yaml
{{- end }}
{{- end }}
{{- if and .Values.dagDeploy.enabled }}
{{- if and .Values.dagDeploy.enabled (not .Values.airflow.istio.enabled) }}
Comment on lines 4 to 8
{{- if and
.Values.gitSyncRelay.enabled
(eq .Values.gitSyncRelay.repoFetchMode "webhook")
(not .Values.airflow.istio.enabled)
}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants