This is an automated email from the ASF dual-hosted git repository.

shahar pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new fc73e0b167b Fix EKS operator failures by consolidating API version 
references into a shared constant (#61891)
fc73e0b167b is described below

commit fc73e0b167b92eee2564b5ae918536c08e461f4e
Author: D. Ferruzzi <[email protected]>
AuthorDate: Fri Feb 13 23:01:17 2026 -0800

    Fix EKS operator failures by consolidating API version references into a 
shared constant (#61891)
---
 providers/amazon/src/airflow/providers/amazon/aws/hooks/eks.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/providers/amazon/src/airflow/providers/amazon/aws/hooks/eks.py 
b/providers/amazon/src/airflow/providers/amazon/aws/hooks/eks.py
index 25db498ebec..08f78540e65 100644
--- a/providers/amazon/src/airflow/providers/amazon/aws/hooks/eks.py
+++ b/providers/amazon/src/airflow/providers/amazon/aws/hooks/eks.py
@@ -105,7 +105,7 @@ COMMAND = """
             token=${{last_line##*, token: }}  # text after ", token: "
 
             json_string=$(printf '{{"kind": "ExecCredential","apiVersion": \
-                "client.authentication.k8s.io/v1alpha1","spec": {{}},"status": 
\
+                "{authentication_api_version}","spec": {{}},"status": \
                 {{"expirationTimestamp": "%s","token": "%s"}}}}' "$timestamp" 
"$token")
             echo $json_string
             """
@@ -662,6 +662,7 @@ class EksHook(AwsBaseHook):
                                     python_executable=python_executable,
                                     eks_cluster_name=eks_cluster_name,
                                     args=args,
+                                    
authentication_api_version=AUTHENTICATION_API_VERSION,
                                 ),
                             ],
                             "interactiveMode": "Never",

Reply via email to