From aa04889f05c5738c2462aa154534e831c6ecd0dc Mon Sep 17 00:00:00 2001 From: Andrei Stroian <78349066+andrei-brindas97@users.noreply.github.com> Date: Thu, 6 Aug 2026 20:48:42 +0300 Subject: [PATCH] fix(helm): mark filer db-init ConfigMap volume optional (#10596) The filer StatefulSet declares db-schema-config-volume unconditionally, referencing -seaweedfs-db-init-config. The chart never renders that ConfigMap and the README documents it as operator-supplied, so any deployment that has not pre-created it ends up with a pod spec pointing at a non-existent object. No container mounts the volume, so this is currently inert, but it is misleading and would become a pod-start failure if a volumeMount is ever added. --- k8s/charts/seaweedfs/templates/filer/filer-statefulset.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/k8s/charts/seaweedfs/templates/filer/filer-statefulset.yaml b/k8s/charts/seaweedfs/templates/filer/filer-statefulset.yaml index 691d1cf4f..a76dcb6b5 100644 --- a/k8s/charts/seaweedfs/templates/filer/filer-statefulset.yaml +++ b/k8s/charts/seaweedfs/templates/filer/filer-statefulset.yaml @@ -356,6 +356,7 @@ spec: - name: db-schema-config-volume configMap: name: {{ default (printf "%s-db-init-config" (include "seaweedfs.fullname" .)) .Values.filer.dbInitConfigName }} + optional: true {{- if and .Values.filer.s3.enabled .Values.filer.s3.enableAuth }} - name: config-users secret: