Uploaded image for project: 'Apache Airflow'
  1. Apache Airflow
  2. AIRFLOW-6987

Avoid creating default connections

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.10.9
    • Fix Version/s: 1.10.10
    • Component/s: configuration
    • Labels:
      None

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                nbardelot Noël BARDELOT
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: