You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/10/14 11:59:40 UTC

[GitHub] [airflow] ashb commented on a change in pull request #6312: [AIRFLOW-5641] support running git sync container as root

ashb commented on a change in pull request #6312: [AIRFLOW-5641] support running git sync container as root
URL: https://github.com/apache/airflow/pull/6312#discussion_r334446319
 
 

 ##########
 File path: airflow/kubernetes/worker_configuration.py
 ##########
 @@ -154,7 +154,7 @@ def _get_init_containers(self) -> List[k8s.V1Container]:
 
         if self.kube_config.git_sync_run_as_user != "":
             init_containers.security_context = k8s.V1SecurityContext(
-                run_as_user=self.kube_config.git_sync_run_as_user or 65533
+                run_as_user=self.kube_config.git_sync_run_as_user
 
 Review comment:
   Do we still apply this 65533 default UID somewhere?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services