[ 
https://issues.apache.org/jira/browse/AIRFLOW-6585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17160599#comment-17160599
 ] 

ASF GitHub Bot commented on AIRFLOW-6585:
-----------------------------------------

Bruschkov opened a new pull request #7153:
URL: https://github.com/apache/airflow/pull/7153


   ## JIRA
   https://issues.apache.org/jira/browse/AIRFLOW-6585
   
   ## Description
   When using the KubernetesPodOperator on an aws kubernetes cluster, the 
aws-iam-authenticator is used to obtain kubernetes authentication tokens. The 
aws tokens contain ISO-8601 formatted timestamps, which couldn't be parsed in 
case of a "Z" (Zulu Time) timezone. This PR fixes this problem by converting 
the "Z" timezone into a regular "+0000" format.
   
   Upon further review this is only a problem with python version <= 3.6. But 
that should not keep the issue from being fixed.
   


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


> Timestamp bug in RefreshKubeConfigLoader
> ----------------------------------------
>
>                 Key: AIRFLOW-6585
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6585
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: executor-kubernetes, executors, hooks
>    Affects Versions: 1.10.7
>            Reporter: Jan Brusch
>            Assignee: Jan Brusch
>            Priority: Major
>
> When using the KubernetesPodOperator on an aws kubernetes cluster, the 
> aws-iam-authenticator is used to obtain kubernetes authentication tokens. The 
> aws tokens contain ISO-8601 formatted timestamps, which couldn't be parsed in 
> case of a "Z" (Zulu Time) timezone. This PR fixes this problem by converting 
> the "Z" timezone into a regular "+0000" format.
> Upon further review this is only a problem with python version <= 3.6. But 
> that should not keep the issue from being fixed.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to