From e493c362dbc956bcccc972ababb2a89b8b6c2b13 Mon Sep 17 00:00:00 2001 From: chrislu Date: Sat, 6 Dec 2025 17:05:50 -0800 Subject: [PATCH] helm: fix allInOne.data.size and storageClass to use null defaults Change size and storageClass from empty strings to null so the template defaults (10Gi for size, cluster default for storageClass) will apply correctly. Empty strings prevent the Helm | default function from working. --- k8s/charts/seaweedfs/values.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/k8s/charts/seaweedfs/values.yaml b/k8s/charts/seaweedfs/values.yaml index bd5f78a18..0f3f94fc2 100644 --- a/k8s/charts/seaweedfs/values.yaml +++ b/k8s/charts/seaweedfs/values.yaml @@ -1183,8 +1183,8 @@ allInOne: type: "emptyDir" # Options: "hostPath", "persistentVolumeClaim", "emptyDir", "existingClaim" hostPathPrefix: /mnt/data # Path prefix for hostPath volumes claimName: seaweedfs-data-pvc # Name of the PVC to use (for existingClaim type) - size: "" # Size of the PVC (for persistentVolumeClaim type) - storageClass: "" # Storage class for the PVC + size: null # Size of the PVC (null defaults to 10Gi for persistentVolumeClaim type) + storageClass: null # Storage class for the PVC (null uses cluster default) # accessModes for the PVC. Default is ["ReadWriteOnce"]. # For multi-replica deployments, use ["ReadWriteMany"] with a compatible storage class. accessModes: []