SulimanLab edited a comment on issue #13680:
URL: https://github.com/apache/airflow/issues/13680#issuecomment-764701707


   > In your init container, you have
   > volumeMounts:
   > - mountPath: /git
   > name: dags
   > 
   > In your main container:
   > 
   > * mountPath: /opt/airflow/dags
   >   name: dags
   > 
   > In airflow.cfg
   > dags_folder = /opt/airflow/dags/repo/
   > 
   > So you airflow scheduler is expecting the dags to be placed under 
/opt/airflow/dags/repo/, however is that how you populate it in your init 
container? E.g do you have the "repo" directory ?
   
   yeah I have a repo contains all the dags files,
   
   when task pod is instantiated it tries to git aync files , the issue is that 
it's not able to get the the secrets from volumes for gitsync.
   
   this is what i think


----------------------------------------------------------------
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.

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


Reply via email to