Airflow Helm - Unable to create a connection #26404
Replies: 1 comment
-
You cannot (and should not) create connections when installing airlfow via Helm Chart. Helm Chart is to install or upgrade the application, but Connections (if you want to keep them in the DB) should be ketp outside of the Airlfow Helm Chart. Helm Chart does not have any features for managin such "database" entries. You can modify them manually and Helm configuration will not keep them in sync. For example if you change password in the future via DB and the override it with Helm Chart configuration, your password changes should be lost. There are a number of approach you can approach it: a) you can defin the connection via env vars in which case they won't be editable via DB and you can use Helm Chart as the "source ot truth" |
Beta Was this translation helpful? Give feedback.
-
Airflow - Helm - values for the deployment update. I am able to create the connection manually but unable to do it through configuration. Can you please help?
airflow:
connections:
- id: s3_quality
type: s3
extra: |-
{ " XXXX" }
repository: ~
logging:
#remote_logging: '{{- ternary "True" "False" .Values.elasticsearch.enabled }}'
remote_logging: 'True'
encrypt_s3_logs: 'True'
remote_base_log_folder: "s3://XXXX"
remote_log_conn_id: 's3_quality'
colored_console_log: 'False'
Listing the connections in pod:
(airflow)airflow connections get s3_quality
Connection not found.
(airflow)
Beta Was this translation helpful? Give feedback.
All reactions