diff --git a/charts/stable/automatic-ripping-machine/Chart.yaml b/charts/stable/automatic-ripping-machine/Chart.yaml index 15c4a2b40de..1bde1f7c513 100644 --- a/charts/stable/automatic-ripping-machine/Chart.yaml +++ b/charts/stable/automatic-ripping-machine/Chart.yaml @@ -6,7 +6,7 @@ annotations: truecharts.org/min_helm_version: "3.11" truecharts.org/train: stable apiVersion: v2 -appVersion: 2.6.70 +appVersion: 2.7.2 dependencies: - name: common version: 24.1.5 @@ -33,4 +33,4 @@ sources: - https://github.com/truecharts/charts/tree/master/charts/stable/automatic-ripping-machine - https://hub.docker.com/r/automaticrippingmachine/automatic-ripping-machine type: application -version: 5.1.3 +version: 5.2.0 diff --git a/charts/stable/automatic-ripping-machine/values.yaml b/charts/stable/automatic-ripping-machine/values.yaml index 42059b2168f..e0950b74d46 100644 --- a/charts/stable/automatic-ripping-machine/values.yaml +++ b/charts/stable/automatic-ripping-machine/values.yaml @@ -1,7 +1,7 @@ image: repository: automaticrippingmachine/automatic-ripping-machine pullPolicy: IfNotPresent - tag: 2.6.70@sha256:88a6efce8f013ec5c699bb4fd55cfcca6e0a3b5fafcf4fc4ae69e724a3d0a6d0 + tag: 2.7.2@sha256:467c133834483b2f6f8d6f273849e8c91fbcefca0552478ec8570641814cfdf0 securityContext: container: @@ -22,6 +22,24 @@ service: 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: @@ -33,9 +51,17 @@ 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: