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.1@sha256:06dbb4678a6c3b961c72bbf52f9c434ae69c936e808fcd9f1baf96ad841e2211
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