mirror of
https://github.com/clearml/clearml-helm-charts
synced 2025-01-31 09:06:48 +00:00
1f23bcf7ca
* Added: fileserver emptyDir support * Changed: bump up version
22 lines
647 B
YAML
22 lines
647 B
YAML
{{- if .Values.fileserver.enabled }}
|
|
{{- if .Values.fileserver.storage.enabled }}
|
|
{{- if not .Values.fileserver.storage.data.existingPVC }}
|
|
kind: PersistentVolumeClaim
|
|
apiVersion: v1
|
|
metadata:
|
|
name: {{ include "fileserver.referenceName" . }}-data
|
|
labels:
|
|
{{- include "clearml.labels" . | nindent 4 }}
|
|
spec:
|
|
accessModes:
|
|
- {{ .Values.fileserver.storage.data.accessMode }}
|
|
resources:
|
|
requests:
|
|
storage: {{ .Values.fileserver.storage.data.size | quote }}
|
|
{{- if .Values.fileserver.storage.data.class }}
|
|
storageClassName: {{ .Values.fileserver.storage.data.class | quote }}
|
|
{{- end -}}
|
|
{{- end }}
|
|
{{- end }}
|
|
{{- end }}
|