Files
chart/library/ix-dev/community/tiny-media-manager/templates/_tmm.tpl
Stavros Kois b02d20057c NAS-123265 / 23.10 / adds tinyMediaManager to community train (#1413)
* ads `tinyMediaManager` to `community` train

* change ci values

* remove hostnet

* perm container does not exist
2023-08-03 16:35:21 +03:00

54 lines
1.3 KiB
Smarty

{{- define "tmm.workload" -}}
workload:
tmm:
enabled: true
primary: true
type: Deployment
podSpec:
hostNetwork: false
securityContext:
fsGroup: {{ .Values.tmmID.group }}
containers:
tmm:
enabled: true
primary: true
imageSelector: image
securityContext:
runAsUser: 0
runAsGroup: 0
runAsNonRoot: false
readOnlyRootFilesystem: false
capabilities:
add:
- SETUID
- SETGID
- CHOWN
fixedEnv:
PUID: {{ .Values.tmmID.user }}
env:
PASSWORD: {{ .Values.tmmConfig.password }}
{{ with .Values.tmmConfig.additionalEnvs }}
envList:
{{ range $env := . }}
- name: {{ $env.name }}
value: {{ $env.value }}
{{ end }}
{{ end }}
probes:
liveness:
enabled: true
type: http
port: 4000
path: /
readiness:
enabled: true
type: http
port: 4000
path: /
startup:
enabled: true
type: http
port: 4000
path: /
{{- end -}}