dimberman commented on pull request #10393:
URL: https://github.com/apache/airflow/pull/10393#issuecomment-692154882


   @davlum I don't think we would want the pod_override to override all values. 
The examples I can think of off the top of my head are labels and 
volume_mounts. The base pod file will have volume mounts for the airflow.cfg 
and other potential secrets. I as a non-admin should be allowed to ADD volume 
mounts, but I shouldn't be able to delete them via override. Same with labels. 
Admin might have labels or node affinities they don't want messed with.
   
   While yes it's POSSIBLE to ensure those are there using the 
pod_mutation_hook, doing so places onus on the admin for the user's messups.


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