You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "QP Hou (JIRA)" <ji...@apache.org> on 2019/08/02 22:14:00 UTC

[jira] [Assigned] (AIRFLOW-4316) Keys/Variable names in the 'kubernetes_environment_variables' section are transformed to lower case

     [ https://issues.apache.org/jira/browse/AIRFLOW-4316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

QP Hou reassigned AIRFLOW-4316:
-------------------------------

    Assignee: QP Hou

> Keys/Variable names in the 'kubernetes_environment_variables' section are transformed to lower case
> ---------------------------------------------------------------------------------------------------
>
>                 Key: AIRFLOW-4316
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4316
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: configuration, contrib
>    Affects Versions: 1.10.3
>            Reporter: Vlad Precup
>            Assignee: QP Hou
>            Priority: Major
>              Labels: configuration, kubernetes
>             Fix For: 1.10.4
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> All the environment variable names declared under the kubernetes_environment_variables section are converted to lowercase in the newly generated pods when running Airflow with the KubernetesExecutor in version 1.10.3.
> The behavior is not aligned with the comments in the documentation / code comments in the default config file, airflow.cfg.
> Investigation helper:
> Since we are treating all the sections uniformly in the configuration component, all the keys are lowered (i.e. `configuration.py`, line 342 ->`key = env_var.replace(section_prefix, '').lower()`)
> Please also write (a) unit test(s) for this special case.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)