This is an automated email from the ASF dual-hosted git repository.
jedcunningham pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new f83882e9460 Fix chart NOTES.txt showing deprecation warnings only
without secret key (#62722)
f83882e9460 is described below
commit f83882e94603e807dd5c9ccb0f39ded2c0316c27
Author: Jed Cunningham <[email protected]>
AuthorDate: Mon Mar 2 15:23:30 2026 -0700
Fix chart NOTES.txt showing deprecation warnings only without secret key
(#62722)
The webserver/API secret key conditional was incorrectly wrapping all
deprecation warnings (securityContext, workers.*, webserver.defaultUser),
causing them to only display when no secret key was configured. Moved the
conditional to only wrap the secret key warning where it belongs.
---
chart/templates/NOTES.txt | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/chart/templates/NOTES.txt b/chart/templates/NOTES.txt
index 2c4ad458323..b240d74045c 100644
--- a/chart/templates/NOTES.txt
+++ b/chart/templates/NOTES.txt
@@ -213,8 +213,6 @@ DEPRECATION WARNING:
{{- end }}
-{{- if not (or .Values.webserverSecretKey .Values.webserverSecretKeySecretName
.Values.apiSecretKey .Values.apiSecretKeySecretName) }}
-
{{- if .Values.securityContext }}
DEPRECATION WARNING:
@@ -479,6 +477,7 @@ DEPRECATION WARNING:
{{- end }}
+{{- if not (or .Values.webserverSecretKey .Values.webserverSecretKeySecretName
.Values.apiSecretKey .Values.apiSecretKeySecretName) }}
{{ if (semverCompare ">=3.0.0" .Values.airflowVersion) }}
#####################################################
# WARNING: You should set a static API secret key #