mirror of
https://github.com/truenas/charts.git
synced 2026-04-13 16:39:48 +08:00
UID has no effect
This commit is contained in:
committed by
Stavros Kois
parent
e05e4044d2
commit
d78e34388f
Binary file not shown.
@@ -1,10 +1,6 @@
|
||||
dashyNetwork:
|
||||
webPort: 31000
|
||||
|
||||
dashyID:
|
||||
user: 1000
|
||||
group: 1000
|
||||
|
||||
dashyStorage:
|
||||
data:
|
||||
type: pvc
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -16,10 +16,6 @@ dashyNetwork:
|
||||
certificateID:
|
||||
hostNetwork: false
|
||||
|
||||
dashyID:
|
||||
user: 568
|
||||
group: 568
|
||||
|
||||
dashyStorage:
|
||||
data:
|
||||
type: ixVolume
|
||||
|
||||
Reference in New Issue
Block a user