kaxil commented on a change in pull request #9903:
URL: https://github.com/apache/airflow/pull/9903#discussion_r458107807
##########
File path: airflow/config_templates/config.yml
##########
@@ -2173,6 +2173,13 @@
type: string
example: ~
default: ""
+ - name: pod_mutation_using_k8s_pod
Review comment:
I think we will need to support both for 1.10.12 since some of the users
have already updated their `pod_mutation_hook` to use k8s.Pod.
We could just check the type of the Pod that is passed, example:
```
if isinstance(k8s.V1Pod):
# Use Pod from k8s api
....
else:
# Use Pod from Airflow POD
```
----------------------------------------------------------------
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]