jedcunningham opened a new pull request, #28776:
URL: https://github.com/apache/airflow/pull/28776

   When KubernetesExecutor adopts pods, it was patching the pod with the pod it 
retrieved from the k8s api, while just updating a single label. Normally this 
works just fine, but there are cases where the pod you pull from the k8s api 
can't be used as-is when patching - it results in a 422 `Forbidden: pod updates 
may not change fields other than ...`.
   
   Instead we now just pass the single label we need to update to patch, 
allowing us to avoid accidentally "updating" other fields.
   
   Closes #24015


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