I was able to install airflow on kubernetes with gitsync enabled by following the guide on the airflow website, which overrides the default values for git-sync in the helm chart
dags:
gitSync:
enabled: true
repo: [email protected]:<user>/<private_repo>.git
branch: main
subPath: ""
sshKeySecret: airflow-ssh-secret
extraSecrets:
airflow-ssh-secret:
data: |
gitSshKey: '<base64 encoded ssh key>'
helm upgrade --install airflow apache-airflow/airflow -f override-values.yaml
This works great. I can see and run the DAGs from my Github repo inside the Kubernetes cluster. However, I would like to use a git repository on the EKS cluster instead of reaching out to Github, Gitlab, etc.
Is there a way to do this? I've tried editing the repo field a bunch of different ways, but haven't found anything that works.