(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:
Kjeld Schouten-Lebbing
2021-10-04 12:31:56 +02:00
committed by GitHub
parent 1a7a85d772
commit 308ba8accf
63 changed files with 117 additions and 241 deletions
+3 -3
View File
@@ -8,7 +8,7 @@ image:
envTpl:
# Permissions Settings
UNIFI_GID: "{{ .Values.env.PUID }}"
UNIFI_UID: "{{ .Values.env.PGID }}"
UNIFI_UID: "{{ .Values.podSecurityContext.fsGroup }}"
service:
main:
@@ -64,8 +64,8 @@ podSecurityContext:
env:
# TZ:
PUID: "568"
PGID: "568"
PUID: 568
persistence:
config: