mik-laj commented on code in PR #22284:
URL: https://github.com/apache/airflow/pull/22284#discussion_r842180703


##########
chart/templates/_helpers.yaml:
##########
@@ -44,13 +44,21 @@ If release name contains chart name it will be used as a 
full name.
         name: {{ template "fernet_key_secret" . }}
         key: fernet-key
   {{- end }}
+  # For Airflow <2.3, backward compatibility; moved to [database] in 2.3
   {{- if .Values.enableBuiltInSecretEnvVars.AIRFLOW__CORE__SQL_ALCHEMY_CONN }}
   - name: AIRFLOW__CORE__SQL_ALCHEMY_CONN
     valueFrom:
       secretKeyRef:
         name: {{ template "airflow_metadata_secret" . }}
         key: connection
   {{- end }}
+  {{- if 
.Values.enableBuiltInSecretEnvVars.AIRFLOW__DATABASE__SQL_ALCHEMY_CONN }}
+  - name: AIRFLOW__DATABASE__SQL_ALCHEMY_CONN
+     valueFrom:

Review Comment:
   ```suggestion
     - name: AIRFLOW__DATABASE__SQL_ALCHEMY_CONN
       valueFrom:
   ```



-- 
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