TrueChartsClone/charts/stable/automatic-ripping-machine/values.yaml

69 lines
1.8 KiB
YAML

image:
repository: automaticrippingmachine/automatic-ripping-machine
pullPolicy: IfNotPresent
tag: 2.8.0@sha256:d2799667b6179739a3be56d6a02a36dbca2d04b497e71ea56bf4484e7edead4d
securityContext:
container:
runAsNonRoot: false
readOnlyRootFilesystem: false
runAsUser: 0
runAsGroup: 0
allowPrivilegeEscalation: true
service:
main:
ports:
main:
protocol: http
targetPort: 8080
port: 10683
workload:
main:
podSpec:
# force 568:568 for /home/arm & etc/arm/config
initContainers:
arm-perms:
type: install
enabled: true
imageSelector: "image"
command:
- /bin/sh
args:
- -c
- |
echo "Setting ownership to {{ .Values.securityContext.container.PUID }}:{{ .Values.securityContext.pod.fsGroup }} on data directory [/home/arm] ..."
chown {{ .Values.securityContext.container.PUID }}:{{ .Values.securityContext.pod.fsGroup }} /home/arm
echo "Setting ownership to {{ .Values.securityContext.container.PUID }}:{{ .Values.securityContext.pod.fsGroup }} on data directory [/etc/arm/config] ..."
chown {{ .Values.securityContext.container.PUID }}:{{ .Values.securityContext.pod.fsGroup }} /etc/arm/config
echo "Finished."
containers:
main:
env:
# default media perms
ARM_UID: "{{ .Values.securityContext.container.PUID }}"
ARM_GID: "{{ .Values.securityContext.pod.fsGroup }}"
persistence:
config:
enabled: true
mountPath: "/etc/arm/config"
targetSelector:
main:
main: {}
arm-perms: {}
arm:
enabled: true
mountPath: "/home/arm"
targetSelector:
main:
main: {}
arm-perms: {}
portal:
open:
enabled: true