helm: fix permission denied errors in post-job when running as non-root (#17175)

Fixes ##17174
This commit is contained in:
mungo312
2023-06-16 04:41:06 +02:00
committed by GitHub
parent 47a48b6832
commit 25db1e4eca

View File

@@ -108,7 +108,7 @@ spec:
value: {{ .Values.service.port | quote }} value: {{ .Values.service.port | quote }}
volumeMounts: volumeMounts:
- name: etc-path - name: etc-path
mountPath: /etc/minio mountPath: /etc/minio/mc
- name: tmp - name: tmp
mountPath: /tmp mountPath: /tmp
- name: minio-configuration - name: minio-configuration
@@ -141,7 +141,7 @@ spec:
value: {{ .Values.service.port | quote }} value: {{ .Values.service.port | quote }}
volumeMounts: volumeMounts:
- name: etc-path - name: etc-path
mountPath: /etc/minio mountPath: /etc/minio/mc
- name: tmp - name: tmp
mountPath: /tmp mountPath: /tmp
- name: minio-configuration - name: minio-configuration
@@ -174,7 +174,7 @@ spec:
value: {{ .Values.service.port | quote }} value: {{ .Values.service.port | quote }}
volumeMounts: volumeMounts:
- name: etc-path - name: etc-path
mountPath: /etc/minio mountPath: /etc/minio/mc
- name: tmp - name: tmp
mountPath: /tmp mountPath: /tmp
- name: minio-configuration - name: minio-configuration
@@ -207,7 +207,7 @@ spec:
value: {{ .Values.service.port | quote }} value: {{ .Values.service.port | quote }}
volumeMounts: volumeMounts:
- name: etc-path - name: etc-path
mountPath: /etc/minio mountPath: /etc/minio/mc
- name: tmp - name: tmp
mountPath: /tmp mountPath: /tmp
- name: minio-configuration - name: minio-configuration
@@ -240,7 +240,7 @@ spec:
value: {{ .Values.service.port | quote }} value: {{ .Values.service.port | quote }}
volumeMounts: volumeMounts:
- name: etc-path - name: etc-path
mountPath: /etc/minio mountPath: /etc/minio/mc
- name: tmp - name: tmp
mountPath: /tmp mountPath: /tmp
- name: minio-configuration - name: minio-configuration