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

   ### What does this PR do?
   
   Prevents caching Kubernetes kubeconfig in `AsyncKubernetesHook` when 
exec-based
   authentication is used. Exec auth plugins (e.g. EKS, GKE) return short-lived
   credentials which may expire during deferrable task execution if cached.
   
   ### Why is this needed?
   
   Deferrable Kubernetes tasks reuse the async hook across awaits. Caching 
kubeconfig
   in this case can lead to expired credentials and authentication failures.
   
   ### Related issues
   - Fixes #61737
   


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