From 25db1e4eca2f81b760446147006fe255e240e4be Mon Sep 17 00:00:00 2001 From: mungo312 <8024028+mungo312@users.noreply.github.com> Date: Fri, 16 Jun 2023 04:41:06 +0200 Subject: [PATCH] helm: fix permission denied errors in post-job when running as non-root (#17175) Fixes ##17174 --- helm/minio/templates/post-job.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/helm/minio/templates/post-job.yaml b/helm/minio/templates/post-job.yaml index 3868c891e..b6a5e18dd 100644 --- a/helm/minio/templates/post-job.yaml +++ b/helm/minio/templates/post-job.yaml @@ -108,7 +108,7 @@ spec: value: {{ .Values.service.port | quote }} volumeMounts: - name: etc-path - mountPath: /etc/minio + mountPath: /etc/minio/mc - name: tmp mountPath: /tmp - name: minio-configuration @@ -141,7 +141,7 @@ spec: value: {{ .Values.service.port | quote }} volumeMounts: - name: etc-path - mountPath: /etc/minio + mountPath: /etc/minio/mc - name: tmp mountPath: /tmp - name: minio-configuration @@ -174,7 +174,7 @@ spec: value: {{ .Values.service.port | quote }} volumeMounts: - name: etc-path - mountPath: /etc/minio + mountPath: /etc/minio/mc - name: tmp mountPath: /tmp - name: minio-configuration @@ -207,7 +207,7 @@ spec: value: {{ .Values.service.port | quote }} volumeMounts: - name: etc-path - mountPath: /etc/minio + mountPath: /etc/minio/mc - name: tmp mountPath: /tmp - name: minio-configuration @@ -240,7 +240,7 @@ spec: value: {{ .Values.service.port | quote }} volumeMounts: - name: etc-path - mountPath: /etc/minio + mountPath: /etc/minio/mc - name: tmp mountPath: /tmp - name: minio-configuration