jedcunningham commented on issue #19460:
URL: https://github.com/apache/airflow/issues/19460#issuecomment-999683757


   Operator by operator, this should be possible with `template_fields` and 
something similar to 
[this](https://github.com/apache/airflow/blob/81f92d6c321992905d239bb9e8556720218fe745/airflow/providers/cncf/kubernetes/operators/kubernetes_pod.py#L295-L298),
 but globally it's tougher.
   
   I'd try and use either 
[pod_mutation_hook](https://airflow.apache.org/docs/apache-airflow/stable/kubernetes.html#pod-mutation-hook)
 or 
[task_instance_mutation_hook](https://airflow.apache.org/docs/apache-airflow/stable/concepts/cluster-policies.html#task-instance-mutation).


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