aneesh-joseph edited a comment on pull request #8777:
URL: https://github.com/apache/airflow/pull/8777#issuecomment-648874370


   > Another issue I am facing is mounting secrets to task pods. Basically I am 
trying to use ssh_key file for ssh operator. I added additional volumes and 
volume mounts for the scheduler. Will this reflect on the task pods as well?
   
   No, I  don't think it will mount them automatically to the worker pods 
created by the KubernetesExecutor. If this is for a specific task, you  could 
probably specify the `volumes` and `volumeMounts` via the `executor_config` 
param of that task. If you want it to be mounted on all worker pods, you may 
have to use a pod mutation hook via 
[airflowLocalSettings](https://github.com/apache/airflow/blob/66e738296a81a80e56457981c3ac93f835200c30/chart/values.yaml#L199)


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