mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-08-20 10:17:03 +08:00
* improve perfs & fix rclone & refactoring Signed-off-by: Mohamed Sekour <mohamed.sekour@exfo.com> * improve perfs on download + add seaweedfs all-in-one deployment Signed-off-by: Mohamed Sekour <mohamed.sekour@exfo.com> * use helper for topologySpreadConstraints and fix create home dir of sftp users Signed-off-by: Mohamed Sekour <mohamed.sekour@exfo.com> * fix helm lint Signed-off-by: Mohamed Sekour <mohamed.sekour@exfo.com> * add missing ctx param Signed-off-by: Mohamed Sekour <mohamed.sekour@exfo.com> --------- Signed-off-by: Mohamed Sekour <mohamed.sekour@exfo.com>
21 lines
633 B
YAML
21 lines
633 B
YAML
{{- if and .Values.allInOne.enabled (eq .Values.allInOne.data.type "persistentVolumeClaim") }}
|
|
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
name: {{ .Values.allInOne.data.claimName }}
|
|
labels:
|
|
app.kubernetes.io/component: seaweedfs-all-in-one
|
|
{{- if .Values.allInOne.annotations }}
|
|
annotations:
|
|
{{- toYaml .Values.allInOne.annotations | nindent 4 }}
|
|
{{- end }}
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
resources:
|
|
requests:
|
|
storage: {{ .Values.allInOne.data.size }}
|
|
{{- if .Values.allInOne.data.storageClass }}
|
|
storageClassName: {{ .Values.allInOne.data.storageClass }}
|
|
{{- end }}
|
|
{{- end }} |