Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change galaxy system user uid for K8s image #19403

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .k8s_ci.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ RUN set -xe; \

# Create Galaxy user, group, directory; chown
RUN set -xe; \
adduser --system --group --uid 101 $GALAXY_USER \
adduser --system --group --uid 10001 $GALAXY_USER \
&& mkdir -p $SERVER_DIR \
&& chown $GALAXY_USER:$GALAXY_USER $ROOT_DIR -R

Expand Down
8 changes: 4 additions & 4 deletions lib/galaxy/config/sample/job_conf.xml.sample_advanced
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@
HDF5_USE_FILE_LOCKING: 'FALSE'
MY_OTHER_ENV_VAR: its_value
</param> -->
<!-- Sets additional environment variables (in YAML) to be passed to the k8s Jobs that handle each Galaxy job.
<!-- Sets additional environment variables (in YAML) to be passed to the k8s Jobs that handle each Galaxy job.
This is probably possible to be set at the destination level as well, based on the source code. -->

<!-- <param id="k8s_supplemental_group_id">0</param> -->
Expand Down Expand Up @@ -329,9 +329,9 @@
a requirement of the other.

-->
<!-- <param id="k8s_run_as_user_id">101</param> -->
<!-- <param id="k8s_run_as_user_id">10001</param> -->
<!-- ID of user that should be used by the tool command in the job containers -->
<!-- <param id="k8s_run_as_group_id">101</param> -->
<!-- <param id="k8s_run_as_group_id">10001</param> -->
<!-- ID of group that should be used by the tool command in the job containers -->
<!-- <param id="k8s_interactivetools_use_ssl">True</param> -->
<!-- Whether to enabled HTTPS access in the k8s ingress spec generated for each interactive tools -->
Expand Down Expand Up @@ -1160,7 +1160,7 @@
<!-- `fargate_version` is required to use Fargate compute resources -->
<param id="auto_platform">true</param>
<!-- To let AWS Batch retry on failed jobs, set the number of attempts to 2-10 and `on_exit` conditions -->
<!--
<!--
<param id="retry_attempts">2</param>
<param id="retry_on_exit_statusReason">...</param>
<param id="retry_on_exit_reason">...</param>
Expand Down
Loading