[
https://issues.apache.org/jira/browse/AIRFLOW-4448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16835077#comment-16835077
]
ASF GitHub Bot commented on AIRFLOW-4448:
-----------------------------------------
dimberman commented on pull request #4050: [AIRFLOW-4448] Don't bake ENV and
_cmd into tmp config for non-sudo
URL: https://github.com/apache/airflow/pull/4050
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> 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
> Priority: Major
>
> 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)