fix(collabora): use upstream UID

This commit is contained in:
JJGadgets
2024-04-17 00:03:26 +08:00
parent cc18b45e11
commit a9028ca7f5

View File

@@ -27,7 +27,7 @@ spec:
image: &img
repository: "docker.io/collabora/code"
tag: "23.05.10.1.1"
command: ["/usr/bin/coolwsd", "--version", "--use-env-vars", "--o:sys_template_path=/opt/cool/systemplate", "--o:child_root_path=/opt/cool/child-roots", "--o:file_server_root_path=/usr/share/coolwsd", "--o:logging.color=false", "--o:stop_on_config_change=true", "--o:ssl.enable=false", "--o:ssl.termination=true", "--o:num_prespawn_children=3"]
#command: ["/usr/bin/coolwsd", "--version", "--use-env-vars", "--o:sys_template_path=/opt/cool/systemplate", "--o:child_root_path=/opt/cool/child-roots", "--o:file_server_root_path=/usr/share/coolwsd", "--o:logging.color=false", "--o:stop_on_config_change=true", "--o:ssl.enable=false", "--o:ssl.termination=true", "--o:num_prespawn_children=3"]
env:
TZ: "${CONFIG_TZ}"
DONT_GEN_SSL_CERT: "true"
@@ -75,8 +75,8 @@ spec:
enableServiceLinks: false
securityContext:
runAsNonRoot: true
runAsUser: &uid ${APP_UID_COLLABORA}
runAsGroup: *uid
runAsUser: &uid 100
runAsGroup: 101
fsGroup: *uid
fsGroupChangePolicy: "Always"
seccompProfile: { type: "RuntimeDefault" }