UID has no effect

This commit is contained in:
Stavros kois
2023-11-14 15:55:46 +02:00
committed by Stavros Kois
parent e05e4044d2
commit d78e34388f
5 changed files with 0 additions and 37 deletions

View File

@@ -1,10 +1,6 @@
dashyNetwork:
webPort: 31000
dashyID:
user: 1000
group: 1000
dashyStorage:
data:
type: pvc

View File

@@ -50,29 +50,6 @@ questions:
type: string
required: true
- variable: dashyID
label: ""
group: User and Group Configuration
schema:
type: dict
attrs:
- variable: user
label: User ID
description: The user id that Dashy files will be owned by.
schema:
type: int
min: 568
default: 568
required: true
- variable: group
label: Group ID
description: The group id that Dashy files will be owned by.
schema:
type: int
min: 568
default: 568
required: true
- variable: dashyNetwork
label: ""
group: Network Configuration

View File

@@ -6,8 +6,6 @@ workload:
type: Deployment
podSpec:
hostNetwork: {{ .Values.dashyNetwork.hostNetwork }}
securityContext:
fsGroup: {{ .Values.dashyID.group }}
containers:
dashy:
enabled: true
@@ -17,8 +15,6 @@ workload:
runAsUser: 0
runAsGroup: 0
runAsNonRoot: false
fixedEnv:
PUID: {{ .Values.dashyID.user }}
env:
{{- $protocol := "http" -}}
{{- if .Values.dashyNetwork.certificateID }}
@@ -63,8 +59,6 @@ workload:
runAsUser: 0
runAsGroup: 0
runAsNonRoot: false
fixedEnv:
PUID: {{ .Values.dashyID.user }}
command:
- /bin/sh
args:

View File

@@ -16,10 +16,6 @@ dashyNetwork:
certificateID:
hostNetwork: false
dashyID:
user: 568
group: 568
dashyStorage:
data:
type: ixVolume