Vlad Precup created AIRFLOW-4316:
------------------------------------
Summary: 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
Fix For: 1.10.4
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.3#76005)