git sync - Airflow Helm Install with Local Git Repository for GitSync - Stack Overflow

admin2025-04-29  1

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.

转载请注明原文地址:http://anycun.com/QandA/1745932788a91308.html