Is it mandatory that the webserver "airflow" user GID is "root" #702
Unanswered
BELAGGOUN
asked this question in
Questions & Answers
Replies: 1 comment
-
|
@BELAGGOUN the gid is set with the You can change the If you can think of an issue with using gid=0, please share it here, and with the airflow community as a whole, so it can be resolved. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I m deploying Airflow in the Openshift cluster where we have security.context restriction, which rejects deployment if Pods runAsUser and runAsGroupe, and fsGroup are not within a specific range.
I noticed that the webserver "airflow" user is created with the root privileges (Uid =50000, GID= 0).
Is that a requirement, to have airflow part of the root group? if yes that will be a security issue.( our security team accepted to add an exception for the UID =500000 but not for the GID=0)
I have tried to change the security.context values to the allowed values but I noticed that a "default" user was created and if I move dags to the dag folder, the will have as user "default" not "airflow"
is there any alternative solution where I can deploy the helm chart with the airflow user without root privileges?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions