From 47fc9e771ff7e2957f2701c708403d5de6298927 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yal=C4=B1n=20Do=C4=9Fu=20=C5=9Eahin?= <103506681+yalindogusahin@users.noreply.github.com> Date: Tue, 3 Feb 2026 22:44:52 +0100 Subject: [PATCH] helm: add Iceberg REST catalog support to S3 service (#8193) * helm: add Iceberg REST catalog support to S3 service * helm: add Iceberg REST catalog support to S3 service --------- Co-authored-by: yalin.sahin --- k8s/charts/seaweedfs/templates/s3/s3-deployment.yaml | 7 +++++++ k8s/charts/seaweedfs/templates/s3/s3-service.yaml | 6 ++++++ k8s/charts/seaweedfs/values.yaml | 3 +++ 3 files changed, 16 insertions(+) diff --git a/k8s/charts/seaweedfs/templates/s3/s3-deployment.yaml b/k8s/charts/seaweedfs/templates/s3/s3-deployment.yaml index a6da252a5..c3bd78ad8 100644 --- a/k8s/charts/seaweedfs/templates/s3/s3-deployment.yaml +++ b/k8s/charts/seaweedfs/templates/s3/s3-deployment.yaml @@ -150,6 +150,9 @@ spec: -auditLogConfig=/etc/sw/s3_auditLogConfig.json \ {{- end }} -filer={{ include "seaweedfs.componentName" (list . "filer-client") }}.{{ .Release.Namespace }}:{{ .Values.filer.port }} \ + {{- if .Values.s3.icebergPort }} + -port.iceberg={{ .Values.s3.icebergPort }} \ + {{- end }} {{- range .Values.s3.extraArgs }} {{ . }} \ {{- end }} @@ -192,6 +195,10 @@ spec: - containerPort: {{ .Values.s3.httpsPort }} name: swfs-s3-tls {{- end }} + {{- if .Values.s3.icebergPort }} + - containerPort: {{ .Values.s3.icebergPort }} + name: swfs-iceberg + {{- end }} {{- if .Values.s3.metricsPort }} - containerPort: {{ .Values.s3.metricsPort }} name: metrics diff --git a/k8s/charts/seaweedfs/templates/s3/s3-service.yaml b/k8s/charts/seaweedfs/templates/s3/s3-service.yaml index 47d709c8a..344677d88 100644 --- a/k8s/charts/seaweedfs/templates/s3/s3-service.yaml +++ b/k8s/charts/seaweedfs/templates/s3/s3-service.yaml @@ -21,6 +21,12 @@ spec: port: {{ if .Values.s3.enabled }}{{ .Values.s3.port }}{{ else }}{{ .Values.filer.s3.port }}{{ end }} targetPort: {{ if .Values.s3.enabled }}{{ .Values.s3.port }}{{ else }}{{ .Values.filer.s3.port }}{{ end }} protocol: TCP +{{- if and .Values.s3.enabled .Values.s3.icebergPort }} + - name: "swfs-iceberg" + port: {{ .Values.s3.icebergPort }} + targetPort: {{ .Values.s3.icebergPort }} + protocol: TCP +{{- end }} {{- if and .Values.s3.enabled .Values.s3.httpsPort }} - name: "swfs-s3-tls" port: {{ .Values.s3.httpsPort }} diff --git a/k8s/charts/seaweedfs/values.yaml b/k8s/charts/seaweedfs/values.yaml index f9d93dab6..f7a05ce17 100644 --- a/k8s/charts/seaweedfs/values.yaml +++ b/k8s/charts/seaweedfs/values.yaml @@ -909,6 +909,9 @@ s3: # add additional https port httpsPort: 0 metricsPort: 9327 + # Iceberg catalog REST port (Apache Iceberg REST Catalog API) + # Set to a port number to enable, or 0/null to disable + icebergPort: null loggingOverrideLevel: null # enable user & permission to s3 (need to inject to all services) enableAuth: false