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

   EKS Pod execution, trigger reentry and trigger polling repeat the same AWS 
credential resolution and temporary kubeconfig setup. Add 
`EksHook.generate_config_file_with_credentials()` and reuse it in 
`EksPodOperator` and `EksPodTrigger`.
   
   The context yields both file paths so the operator can continue refreshing 
credentials in place, and keeps the files alive until execution or polling 
finishes. Missing AWS credentials raise a `RuntimeError` with an actionable 
message. The existing `generate_config_file()` API remains available.
   
   Follow-up to 
https://github.com/apache/airflow/pull/72542#discussion_r4275937814. This PR is 
based independently on `main`; the new operator and system-test helper in 
#72542 can adopt it once available.
   
   Validation: 180 EKS hook, operator and trigger unit tests passed in Breeze 
(Python 3.11), including context lifetime, cleanup on failure and missing 
credentials.
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Codex (GPT-6)
   
   Generated-by: Codex (GPT-6) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
   


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