From 855ed642c3b1d591b9a16b3c1481b0868325df17 Mon Sep 17 00:00:00 2001 From: mstein11 Date: Mon, 8 May 2023 16:59:25 +0200 Subject: [PATCH] helm: allow postjob to run without user 1000 (#17160) --- helm/minio/templates/post-job.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/helm/minio/templates/post-job.yaml b/helm/minio/templates/post-job.yaml index 373c1c273..f42eaec9d 100644 --- a/helm/minio/templates/post-job.yaml +++ b/helm/minio/templates/post-job.yaml @@ -136,6 +136,8 @@ spec: - name: MINIO_PORT value: {{ .Values.service.port | quote }} volumeMounts: + - name: etc-path + mountPath: /etc/minio - name: minio-configuration mountPath: /config {{- if .Values.tls.enabled }} @@ -165,6 +167,8 @@ spec: - name: MINIO_PORT value: {{ .Values.service.port | quote }} volumeMounts: + - name: etc-path + mountPath: /etc/minio - name: minio-configuration mountPath: /config {{- if .Values.tls.enabled }} @@ -194,6 +198,8 @@ spec: - name: MINIO_PORT value: {{ .Values.service.port | quote }} volumeMounts: + - name: etc-path + mountPath: /etc/minio - name: minio-configuration mountPath: /config {{- if .Values.tls.enabled }} @@ -223,6 +229,8 @@ spec: - name: MINIO_PORT value: {{ .Values.service.port | quote }} volumeMounts: + - name: etc-path + mountPath: /etc/minio - name: minio-configuration mountPath: /config {{- if .Values.tls.enabled }} @@ -231,4 +239,4 @@ spec: {{- end }} resources: {{- toYaml .Values.makeServiceAccountJob.resources | nindent 12 }} {{- end }} -{{- end }} +{{- end }} \ No newline at end of file