(fix) correct Unifi permissions

This commit is contained in:
kjeld Schouten-Lebbing
2021-09-28 10:08:17 +02:00
parent 792b25e7ce
commit bb925e2707
3 changed files with 13 additions and 5 deletions

View File

@@ -21,4 +21,4 @@ sources:
- https://github.com/jacobalberty/unifi-docker
- https://unifi-network.ui.com
type: application
version: 8.0.1
version: 8.0.2

View File

@@ -996,7 +996,7 @@ questions:
label: "ReadOnly Root Filesystem"
schema:
type: boolean
default: true
default: false
- variable: allowPrivilegeEscalation
label: "Allow Privilege Escalation"
schema:
@@ -1006,7 +1006,7 @@ questions:
label: "runAsNonRoot"
schema:
type: boolean
default: true
default: false
- variable: podSecurityContext
group: "Security and Permissions"
label: "Pod Security Context"
@@ -1018,13 +1018,13 @@ questions:
description: "The UserID of the user running the application"
schema:
type: int
default: 568
default: 0
- variable: runAsGroup
label: "runAsGroup"
description: The groupID this App of the user running the application"
schema:
type: int
default: 568
default: 0
- variable: fsGroup
label: "fsGroup"
description: "The group that should own ALL storage."

View File

@@ -54,6 +54,14 @@ service:
targetPort: 8843
protocol: HTTPS
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
podSecurityContext:
runAsGroup: 0
runAsUser: 0
env:
# TZ:
PUID: "568"