(feat) Dynamically set PGID, GID and GROUP_ID (#1091)
* base PGID on fsGroup * also remove PGID from questions.yaml * remove mistake * small fix * fix first test * fix linting * always set PUID to 568 * use quotes for env vars (obviously)
This commit is contained in:
@@ -13,7 +13,7 @@ image:
|
||||
envTpl:
|
||||
# Permissions Settings
|
||||
USER_ID: "{{ .Values.env.PUID }}"
|
||||
GROUP_ID: "{{ .Values.env.PGID }}"
|
||||
|
||||
##
|
||||
# Most other defaults are set in questions.yaml
|
||||
# For other options please refer to the wiki, default_values.yaml or the common library chart
|
||||
|
||||
@@ -85,12 +85,7 @@ questions:
|
||||
schema:
|
||||
type: int
|
||||
default: 568
|
||||
- variable: PGID
|
||||
label: "PGID"
|
||||
description: "Sets the PGID env var for LinuxServer.io (compatible) containers"
|
||||
schema:
|
||||
type: int
|
||||
default: 568
|
||||
|
||||
- variable: UMASK
|
||||
label: "UMASK"
|
||||
description: "Sets the UMASK env var for LinuxServer.io (compatible) containers"
|
||||
|
||||
@@ -29,12 +29,12 @@ service:
|
||||
envTpl:
|
||||
# Permissions Settings
|
||||
USER_ID: "{{ .Values.env.PUID }}"
|
||||
GROUP_ID: "{{ .Values.env.PGID }}"
|
||||
|
||||
|
||||
env:
|
||||
# Permissions Settings
|
||||
PUID: "568"
|
||||
PGID: "568"
|
||||
PUID: 568
|
||||
|
||||
# General Settings
|
||||
KEEP_APP_RUNNING: "0"
|
||||
CLEAN_TMP_DIR: "1"
|
||||
|
||||
Reference in New Issue
Block a user