From bac24f3ca7a135945b09c01051de9f1f614e6d56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20=C5=A0im=C3=A1nek?= Date: Tue, 24 Jun 2025 23:05:49 +0200 Subject: [PATCH] Use api-server instead of webserver in chart NOTES.txt for Airflow 3.0+. --- chart/templates/NOTES.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chart/templates/NOTES.txt b/chart/templates/NOTES.txt index 531e6e29aba8b..781caf763023a 100644 --- a/chart/templates/NOTES.txt +++ b/chart/templates/NOTES.txt @@ -98,7 +98,11 @@ Flower dashboard: {{- else }} You can now access your dashboard(s) by executing the following command(s) and visiting the corresponding port at localhost in your browser: +{{- if semverCompare "<3.0.0" .Values.airflowVersion }} Airflow Webserver: kubectl port-forward svc/{{ include "airflow.fullname" . }}-webserver {{ .Values.ports.airflowUI }}:{{ .Values.ports.airflowUI }} --namespace {{ .Release.Namespace }} +{{- else }} +Airflow API Server: kubectl port-forward svc/{{ include "airflow.fullname" . }}-api-server {{ .Values.ports.airflowUI }}:{{ .Values.ports.airflowUI }} --namespace {{ .Release.Namespace }} +{{- end }} {{- if .Values.flower.enabled }} {{- if or (contains "CeleryExecutor" .Values.executor) (contains "CeleryKubernetesExecutor" .Values.executor)}}