如何通过 Git 挂载 Airflow DAG?

Ale*_*mbo 5 airflow

发现在airflow.cfg中有可能“通过Git挂载DAG”:

# Git credentials and repository for DAGs mounted via Git (mutually exclusive with volume claim)
git_repo = https://username@bitbucket.org/repo.git
git_branch = master
git_subpath =
# Use git_user and git_password for user authentication or git_ssh_key_secret_name and git_ssh_key_secret_key
# for SSH authentication
git_user = username
git_password = pass
git_sync_root = /git
git_sync_dest = repo
# Mount point of the volume if git-sync is being used.
# i.e. /home/user/airflow/dags
git_dags_folder_mount_point = /home/user/airflow/dags
Run Code Online (Sandbox Code Playgroud)

无法找到有关此的任何文档。

我是否正确理解,我可以通过推送到指定的分支,使用 Git 存储库将我的 DAG 部署到 Airflow 生产服务器?

无法进行操作,希望有任何想法。