Add info for cloning private repositories

How to use personal GitHub Access Tokens to clone a private repository
This commit is contained in:
Beltran
2020-08-02 09:16:06 +02:00
committed by GitHub
parent b704c1bd99
commit 989107dd0f

View File

@@ -298,6 +298,8 @@ airflow.cloneDagFilesFromGit.repository=https://github.com/USERNAME/REPOSITORY
airflow.cloneDagFilesFromGit.branch=master
```
If you use a private repository from GitHub, a possible option to clone the files is using a [Personal Access Token](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token) and using it as part of the URL: https://USERNAME:PERSONAL_ACCESS_TOKEN@github.com/USERNAME/REPOSITORY
### Loading Plugins
You can load plugins into the chart by specifying a git repository containing the plugin files. The repository will be periodically updated using a sidecar container. In order to do that, you can deploy airflow with the following options: