Skip to content
Snippets Groups Projects
Commit 18c1ea80 authored by Andrea Michelotti's avatar Andrea Michelotti
Browse files

volumes

parent fc88c5fe
No related branches found
No related tags found
No related merge requests found
......@@ -134,17 +134,22 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.dataVolume.claim }}
{{- if or .Values.dataVolume.claim .Values.nfsMounts }}
volumes:
{{- range .Values.nfsMounts }}
- name: {{ .name }}
nfs:
server: {{ .server }}
path: {{ .path }}
{{- end }}
- name: jupyter-data
persistentVolumeClaim:
claimName: {{ .Values.dataVolume.claim }}
{{- range .Values.nfsMounts }}
- name: {{ .name }}
nfs:
server: {{ .server }}
path: {{ .path }}
{{- end }}
{{- if .Values.dataVolume.claim }}
- name: jupyter-data
persistentVolumeClaim:
claimName: {{ .Values.dataVolume.claim }}
{{- end }}
{{- if not .Values.dataVolume.claim }}
volumeClaimTemplates:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment