|
@ -314,7 +314,7 @@ spec: |
|
|
nodeSelector: |
|
|
nodeSelector: |
|
|
{{ tpl .Values.filer.nodeSelector . | indent 8 | trim }} |
|
|
{{ tpl .Values.filer.nodeSelector . | indent 8 | trim }} |
|
|
{{- end }} |
|
|
{{- end }} |
|
|
{{- if .Values.filer.enablePVC }} |
|
|
|
|
|
|
|
|
{{- if and (.Values.filer.enablePVC) (eq .Values.filer.data.type "persistentVolumeClaim") }} |
|
|
# DEPRECATION: Deprecate in favor of filer.data section below |
|
|
# DEPRECATION: Deprecate in favor of filer.data section below |
|
|
volumeClaimTemplates: |
|
|
volumeClaimTemplates: |
|
|
- metadata: |
|
|
- metadata: |
|
@ -332,7 +332,7 @@ spec: |
|
|
{{- $pvc_exists := include "filer.pvc_exists" . -}} |
|
|
{{- $pvc_exists := include "filer.pvc_exists" . -}} |
|
|
{{- if $pvc_exists }} |
|
|
{{- if $pvc_exists }} |
|
|
volumeClaimTemplates: |
|
|
volumeClaimTemplates: |
|
|
{{- if eq .Values.filer.data.type "persistentVolumeClaim"}} |
|
|
|
|
|
|
|
|
{{- if eq .Values.filer.data.type "persistentVolumeClaim" }} |
|
|
- metadata: |
|
|
- metadata: |
|
|
name: data-filer |
|
|
name: data-filer |
|
|
{{- with .Values.filer.data.annotations }} |
|
|
{{- with .Values.filer.data.annotations }} |
|
@ -346,7 +346,7 @@ spec: |
|
|
requests: |
|
|
requests: |
|
|
storage: {{ .Values.filer.data.size }} |
|
|
storage: {{ .Values.filer.data.size }} |
|
|
{{- end }} |
|
|
{{- end }} |
|
|
{{- if eq .Values.filer.logs.type "persistentVolumeClaim"}} |
|
|
|
|
|
|
|
|
{{- if eq .Values.filer.logs.type "persistentVolumeClaim" }} |
|
|
- metadata: |
|
|
- metadata: |
|
|
name: seaweedfs-filer-log-volume |
|
|
name: seaweedfs-filer-log-volume |
|
|
{{- with .Values.filer.logs.annotations }} |
|
|
{{- with .Values.filer.logs.annotations }} |
|
|