69 lines
1.8 KiB
YAML
69 lines
1.8 KiB
YAML
image:
|
|
repository: automaticrippingmachine/automatic-ripping-machine
|
|
pullPolicy: IfNotPresent
|
|
tag: 2.8.1@sha256:6f6dfe50f726869f17afb88d72ee04c720eb9b158caf32a29714bc02f23ba300
|
|
|
|
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
|