You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Ash Berlin-Taylor (JIRA)" <ji...@apache.org> on 2019/04/30 21:38:00 UTC
[jira] [Created] (AIRFLOW-4448) Don't bake env vars/cmd in to tmp
config when not using impersonation
Ash Berlin-Taylor created AIRFLOW-4448:
------------------------------------------
Summary: Don't bake env vars/cmd in to tmp config when not using impersonation
Key: AIRFLOW-4448
URL: https://issues.apache.org/jira/browse/AIRFLOW-4448
Project: Apache Airflow
Issue Type: Bug
Reporter: Ash Berlin-Taylor
If we are running tasks via sudo then AIRFLOW__ config env vars won't be
visible anymore (without them showing up in {{ps}}) and we likely might
not have permission to run the _cmd's specified to find the passwords.
But if we are running as the same user then there is no need to "bake"
those options in to the temporary config file -- if the operator decided
they didn't want those values appearing in a config file on disk, then
lets do our best to respect that.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)