airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-227) Show environmentally defined configs in the config view
Date Mon, 24 Oct 2016 06:25:59 GMT

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

ASF subversion and git services commented on AIRFLOW-227:
---------------------------------------------------------

Commit c5f663387b4e4f00900b622d5ac96b9998845065 in incubator-airflow's branch refs/heads/master
from [~sekikn]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=c5f6633 ]

[AIRFLOW-227] Show running config in config view

Right now the config page (when set to display)
just loads the airflow.cfg and lists that.
So any configuration values that are set via
an environment variable are not shown.

This patch makes all configuration values
which are loaded via any means shown,
only if expose_config is set to true.

Closes #1597 from sekikn/AIRFLOW-227


> Show environmentally defined configs in the config view
> -------------------------------------------------------
>
>                 Key: AIRFLOW-227
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-227
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: webserver
>            Reporter: Jakob Homan
>            Assignee: Kengo Seki
>
> Right now the config page (when set to display) just loads the airflow.cfg and lists
that.   This means that any configuration values that are set via an environment variable
are not shown.
> On the one hand, this is nice for secure values (ie, db connect string), but becomes
a pain if large amounts of configuration are done throgh env vars.  This situation can occur
when deploying airflow in production versus staging versus dev environments.  We currently
load lots of values through env vars (passed into the Docker containers).  These values don't
show up in the config screen.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message