Noël BARDELOT created AIRFLOW-6987:
--------------------------------------

             Summary: Avoid creating default connections
                 Key: AIRFLOW-6987
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6987
             Project: Apache Airflow
          Issue Type: Improvement
          Components: configuration
    Affects Versions: 1.10.9
            Reporter: Noël BARDELOT
             Fix For: 1.10.10



Add a new load_default_connections in the Core configuration of Airflow, 
similar to load_examples but aimed at avoiding the creation of default 
Connections in airflow/utils/db.py.

By default it should be retrocompatible:

- the default behaviour should be the old behaviour (True)
- the old behaviour should also be kept in the CI tests and other places were 
configuration is used

The config should be documented as being new.

See also in the Helm charts project, concerning the stable/airflow chart:

> [stable/airflow] allow default connections to be removed
https://github.com/helm/charts/issues/20568 (by @javamonkey79)
https://github.com/helm/charts/pull/21018 (comment) (by @javamonkey79)

> [stable/airflow] Add a feature to run extra init scripts in the scheduler 
> after initdb
https://github.com/helm/charts/pull/21047



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to