miloaissatu opened a new issue, #60500:
URL: https://github.com/apache/airflow/issues/60500

   ### Official Helm Chart version
   
   1.18.0 (latest released)
   
   ### Apache Airflow version
   
   3.1.6
   
   ### Kubernetes Version
   
   1.33.5
   
   ### Helm Chart configuration
   
   Documentation here suggests that gitsync and persistence can be used 
together. 
https://airflow.apache.org/docs/helm-chart/1.18.0/manage-dag-files.html#mounting-dags-using-git-sync-sidecar-with-persistence-enabled.
 This is not what the helm chart does.
   
   Is the documentation wrong? Or is the helm chart wrong?
   
   Is there a configuration combination where I can have either the scheduler 
or the dag processor run the periodic gitsyncs, and everything else mount the 
RWX dags volume?
   
   ### Docker Image customizations
   
   _No response_
   
   ### What happened
   
   Across all deployments, the combination of `executor=KubernetesExecutor`, 
`dags.persistence.enabled=true` and `dags.gitSync.enabled=true` means none of 
them run the gitsync sidecar.
   
   ### What you think should happen instead
   
   `dags.persistence.enabled=true` and `dags.gitSync.enabled=true` should run 
gitsync sidecar on scheduler (should this be dagprocessor on airflow 2/3?) 
deployment. Other deployments should mount persistentvolume containing dags.
   
   ### How to reproduce
   
   Set `executor=KubernetesExecutor`, `dags.persistence.enabled=true` and 
`dags.gitSync.enabled=true` in values. There will be no deployments with 
gitsync sidecar.
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to