mirror of
https://github.com/kemko/slurm.git
synced 2026-01-01 15:55:48 +03:00
fix volume issues for helm practice
This commit is contained in:
@@ -19,6 +19,13 @@ spec:
|
||||
app: {{ template "fileshare.name" . }}
|
||||
release: {{ .Release.Name }}
|
||||
spec:
|
||||
initContainers:
|
||||
- image: busybox
|
||||
name: mount-permissions-fix
|
||||
command: ["sh", "-c", "chmod 777 /data"]
|
||||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: /data
|
||||
containers:
|
||||
- name: {{ .Chart.Name }}
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
|
||||
@@ -10,7 +10,7 @@ metadata:
|
||||
heritage: {{ .Release.Service }}
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
- ReadWriteMany
|
||||
resources:
|
||||
requests:
|
||||
storage: {{ .Values.persistence.size | quote }}
|
||||
|
||||
Reference in New Issue
Block a user