You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Jan Brusch (Jira)" <ji...@apache.org> on 2020/01/17 08:05:00 UTC

[jira] [Created] (AIRFLOW-6585) Timestamp bug in RefreshKubeConfigLoader

Jan Brusch created AIRFLOW-6585:
-----------------------------------

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


h1. Problem
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)