From 718bec7722d17d0e68eec83a5e0d7fd0dbbd403d Mon Sep 17 00:00:00 2001 From: Duru Can Celasun Date: Wed, 6 May 2026 07:42:56 +0100 Subject: [PATCH] feat(helm-chart): support scale to 0 in standalone mode (#2797) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Duru Can Celasun Co-authored-by: 安正超 Co-authored-by: cxymds --- helm/rustfs/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/rustfs/templates/deployment.yaml b/helm/rustfs/templates/deployment.yaml index 8103c2d50..e872989be 100644 --- a/helm/rustfs/templates/deployment.yaml +++ b/helm/rustfs/templates/deployment.yaml @@ -12,7 +12,7 @@ metadata: {{- toYaml . | nindent 4 }} {{- end }} spec: - replicas: 1 + replicas: {{ min 1 .Values.replicaCount }} {{- with .Values.mode.standalone.strategy }} {{- $type := default "RollingUpdate" .type }} strategy: