XD-DENG opened a new pull request #15204:
URL: https://github.com/apache/airflow/pull/15204


   closes: #15193
   
   Currently condition `if the pod is created by Airflow` is not considered. 
This commit fixes this.
   
   We decide if the Pod is created by Airflow via checking if it has all the 
labels added in 
[`PodGenerator.construct_pod()`](https://github.com/apache/airflow/blob/2.0.1/airflow/kubernetes/pod_generator.py#L385).
   
   Test added.
   


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