From e15aa250e9888f0cf4cab71c1a7ff4e691349075 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Fri, 20 Nov 2026 03:24:24 -0800 Subject: [PATCH] helm: document volume server HTTPS Co-Authored-By: Claude Opus 5.5 --- k8s/charts/seaweedfs/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/k8s/charts/seaweedfs/README.md b/k8s/charts/seaweedfs/README.md index f294c255a8..396e80a571 100644 --- a/k8s/charts/seaweedfs/README.md +++ b/k8s/charts/seaweedfs/README.md @@ -612,6 +612,16 @@ Two things worth knowing before you turn this on: The DNS selectors default to CoreDNS as kubeadm, kind and the managed offerings from AWS, Google and Azure install it. On OpenShift, override `egress.dnsNamespaceSelector` and `egress.dnsPodSelector` to match `openshift-dns`; see the comment in `values.yaml`. +## Volume server HTTPS + +With `global.seaweedfs.enableSecurity`, gRPC between components uses mutual TLS, but the volume servers' HTTP port, which carries the file data, stays plaintext. Set `global.seaweedfs.volumeHttps.enabled: true` to serve it over TLS: + +- `[https.volume]` points at the volume certificate, which then also names every volume group's service (`*.-volume.`), since volume servers register as `.-volume.`. With `certificates.externalCertificates`, the provided `-volume-cert` needs those names. +- `[https.client]` is enabled with the client certificate and the chart CA, so every chart pod that talks to the volume servers does it over HTTPS. +- The volume probes use HTTPS. + +The volume servers do not require client certificates, because kubelet probes cannot present one; enable JWT signing (`securityConfig.jwtSigning`) to authorize volume reads and writes. `[https.client]` switches every HTTP request between components to HTTPS while master and filer HTTP stay plain, so a follower master can no longer forward HTTP API calls to the leader. A volume Ingress or HTTPRoute needs its controller's HTTPS-backend setting. `weed mount`, the CSI driver and other clients outside the chart need their own `[https.client]` with the chart CA. The option is not supported with `allInOne`, whose volume server registers by pod IP. + ## Common labels `commonLabels` adds labels to the metadata of every object the chart creates. It may be a map or a template string rendering to one. The chart's own labels cannot be overridden, and pods (see `podLabels`) and `volumeClaimTemplates` are left unchanged.