Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

helm chart: add s3 and s3-tls ports where missing (#6016)

Erwan de Lépinau4f2bdebe4949
diff --git a/k8s/charts/seaweedfs/templates/filer-statefulset.yaml b/k8s/charts/seaweedfs/templates/filer-statefulset.yaml
index 49b62e8676..d02099e50d 100644
--- a/k8s/charts/seaweedfs/templates/filer-statefulset.yaml
+++ b/k8s/charts/seaweedfs/templates/filer-statefulset.yaml
@@ -249,6 +249,14 @@ spec:
name: metrics
- containerPort: {{ .Values.filer.grpcPort }}
#name: swfs-filer-grpc
+ {{- if .Values.filer.s3.enabled }}
+ - containerPort: {{ .Values.filer.s3.port }}
+ name: swfs-s3
+ {{- if .Values.filer.s3.httpsPort }}
+ - containerPort: {{ .Values.filer.s3.httpsPort }}
+ name: swfs-s3-tls
+ {{- end }}
+ {{- end }}
{{- if .Values.filer.readinessProbe.enabled }}
readinessProbe:
httpGet:
diff --git a/k8s/charts/seaweedfs/templates/s3-deployment.yaml b/k8s/charts/seaweedfs/templates/s3-deployment.yaml
index b678a0eff4..02c1ed21af 100644
--- a/k8s/charts/seaweedfs/templates/s3-deployment.yaml
+++ b/k8s/charts/seaweedfs/templates/s3-deployment.yaml
@@ -176,9 +176,13 @@ spec:
ports:
- containerPort: {{ .Values.s3.port }}
name: swfs-s3
+ {{- if .Values.s3.httpsPort }}
+ - containerPort: {{ .Values.s3.httpsPort }}
+ name: swfs-s3-tls
+ {{- end }}
{{- if .Values.s3.metricsPort }}
- containerPort: {{ .Values.s3.metricsPort }}
- name: "metrics"
+ name: metrics
{{- end }}
{{- if .Values.s3.readinessProbe.enabled }}
readinessProbe: