From a6cf0740cb758600090cda889d1f52a335a7e05b Mon Sep 17 00:00:00 2001 From: Serhiy Novoseletskiy Date: Sat, 29 Nov 2025 17:50:18 +0200 Subject: [PATCH] Updated RUSTFS_VOLUMES (#922) 1. Removed .rustfs.svc.cluster.local as all pods for statefulset are running in the same namespace 2. used "rustfs.fullname" as it's used in statefulset services and statefull set names Co-authored-by: houseme --- helm/rustfs/templates/configmap.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/rustfs/templates/configmap.yaml b/helm/rustfs/templates/configmap.yaml index b9a46eae..d4a5109e 100644 --- a/helm/rustfs/templates/configmap.yaml +++ b/helm/rustfs/templates/configmap.yaml @@ -10,9 +10,9 @@ data: RUSTFS_LOG_LEVEL: {{ .Values.config.rustfs.log_level | quote }} {{- if .Values.mode.distributed.enabled }} {{- if eq (int .Values.replicaCount) 4 }} - RUSTFS_VOLUMES: "http://rustfs-{0...3}.rustfs-headless.rustfs.svc.cluster.local:9000/data/rustfs{0...3}" + RUSTFS_VOLUMES: "http://{{ include "rustfs.fullname" . }}-{0...3}.{{ include "rustfs.fullname" . }}-headless:9000/data/rustfs{0...3}" {{- else if eq (int .Values.replicaCount) 16 }} - RUSTFS_VOLUMES: "http://rustfs-{0...15}.rustfs-headless.rustfs.svc.cluster.local:9000/data" + RUSTFS_VOLUMES: "http://{{ include "rustfs.fullname" . }}-{0...15}.{{ include "rustfs.fullname" . }}-headless:9000/data" {{- end }} {{- else }} RUSTFS_VOLUMES: "/data"