This is an automated email from the ASF dual-hosted git repository.

hanahmily pushed a commit to branch bug/liaison-data-node-list
in repository https://gitbox.apache.org/repos/asf/skywalking-banyandb-helm.git

commit 28b2aa0d3587b26eb5c6bbef1b4f480ff675d33e
Author: Gao Hongtao <[email protected]>
AuthorDate: Thu Nov 20 00:52:30 2025 +0000

    Update to version 0.5.2, fixing the incorrect data node list in the 
liaison. Update CHANGES.md and Chart.yaml for the new release.
---
 CHANGES.md                   | 6 ++++++
 chart/Chart.lock             | 2 +-
 chart/Chart.yaml             | 2 +-
 chart/templates/_helpers.tpl | 6 ++++--
 4 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/CHANGES.md b/CHANGES.md
index d0a8eab..b7fa821 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -2,6 +2,12 @@ Changes by Version
 ==================
 Release Notes.
 
+0.5.2
+
+#### Bugs
+
+- Fix the incorrect data node list of the liaison.
+
 0.5.1
 -----------------
 
diff --git a/chart/Chart.lock b/chart/Chart.lock
index f71b8df..7d1fc61 100644
--- a/chart/Chart.lock
+++ b/chart/Chart.lock
@@ -3,4 +3,4 @@ dependencies:
   repository: oci://registry-1.docker.io/bitnamicharts
   version: 12.0.18
 digest: sha256:428d19828d309ec37ac9e569328eda161160b9a42cb7af3b6a3a44c738720fb2
-generated: "2025-10-03T07:45:44.426744+08:00"
+generated: "2025-11-11T01:20:08.994016402Z"
diff --git a/chart/Chart.yaml b/chart/Chart.yaml
index 7dad9ae..3bce495 100644
--- a/chart/Chart.yaml
+++ b/chart/Chart.yaml
@@ -16,7 +16,7 @@
 apiVersion: v2
 name: skywalking-banyandb-helm
 home: https://skywalking.apache.org
-version: 0.5.1
+version: 0.5.2
 description: Helm Chart for Apache SkyWalking BanyanDB
 icon: 
https://raw.githubusercontent.com/apache/skywalking-kubernetes/master/logo/sw-logo-for-chart.jpg
 sources:
diff --git a/chart/templates/_helpers.tpl b/chart/templates/_helpers.tpl
index ad2a5b5..0380fd5 100644
--- a/chart/templates/_helpers.tpl
+++ b/chart/templates/_helpers.tpl
@@ -111,12 +111,14 @@ Generate data node names list for "hot" role only
 {{- define "banyandb.dataNodeListValue" -}}
 {{- $dataNodes := list }}
 {{- $fullname := include "banyandb.fullname" . }}
+{{- $namespace := .Release.Namespace }}
 {{- range $roleName, $roleConfig := .Values.cluster.data.roles }}
   {{- if eq $roleName "hot" }}
     {{- $replicas := $roleConfig.replicas | default 
$.Values.cluster.data.nodeTemplate.replicas }}
     {{- range $i := until (int $replicas) }}
-      {{- $nodeName := printf "%s-data-%s-%d" $fullname $roleName $i }}
-      {{- $dataNodes = append $dataNodes $nodeName }}
+      {{- $podName := printf "%s-data-%s-%d" $fullname $roleName $i }}
+      {{- $fqdn := printf "%s.%s-data-%s-headless.%s" $podName $fullname 
$roleName $namespace }}
+      {{- $dataNodes = append $dataNodes $fqdn }}
     {{- end }}
   {{- end }}
 {{- end }}

Reply via email to