mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-23 23:49:12 +00:00
[tdarr] Add environment variables to change the user running container (#1432)
* Add PUID and PGID environment variables
This commit is contained in:
parent
1477ff26c3
commit
18c032fcbf
@ -2,7 +2,7 @@ apiVersion: v2
|
||||
appVersion: 2.00.10
|
||||
description: Tdarr is a self hosted web-app for automating media library transcode/remux management and making sure your files are exactly how you need them to be in terms of codecs/streams/containers etc.
|
||||
name: tdarr
|
||||
version: 4.3.1
|
||||
version: 4.4.0
|
||||
keywords:
|
||||
- transcoding
|
||||
- remux
|
||||
@ -23,5 +23,5 @@ dependencies:
|
||||
version: 4.3.0
|
||||
annotations:
|
||||
artifacthub.io/changes: |
|
||||
- kind: fixed
|
||||
description: Fixed server container mountPath so that persistence actually works.
|
||||
- kind: add
|
||||
description: Explicitly Add PUID and PGID environment variables for server and node.
|
||||
|
@ -19,6 +19,10 @@ additionalContainers:
|
||||
value: "{{ .Values.service.main.ports.server.port }}"
|
||||
- name: ffmpegPath
|
||||
value: {{ default "" .Values.env.ffmpegPath }}
|
||||
- name: PUID
|
||||
value: {{ (.Values.env.PUID | quote) }}
|
||||
- name: PGID
|
||||
value: {{ (.Values.env.PGID | quote) }}
|
||||
volumeMounts:
|
||||
{{ if .Values.persistence.config.enabled }}
|
||||
- name: config
|
||||
|
@ -26,6 +26,10 @@ env:
|
||||
serverPort: "{{ .Values.service.main.ports.server.port }}"
|
||||
# -- Allow override for the pre-compiled tdarr ffmpeg binary
|
||||
ffmpegPath: ""
|
||||
# -- Set the container user id
|
||||
PUID: "1000"
|
||||
# -- Set the container group id
|
||||
PGID: "1000"
|
||||
|
||||
# -- Configures service settings for the chart.
|
||||
# @default -- See values.yaml
|
||||
|
Loading…
Reference in New Issue
Block a user