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

hanahmily pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-banyandb-helm.git


The following commit(s) were added to refs/heads/master by this push:
     new 2555f85  fixing the incorrect data node list in the liaison (#41)
2555f85 is described below

commit 2555f85b3dd8238bb9948361dc45c968aaaac0b9
Author: Gao Hongtao <[email protected]>
AuthorDate: Thu Nov 20 10:31:37 2025 +0800

    fixing the incorrect data node list in the liaison (#41)
    
    * 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.
    
    * Update CHANGES.md
    
    Co-authored-by: Copilot <[email protected]>
    
    ---------
    
    Co-authored-by: 吴晟 Wu Sheng <[email protected]>
    Co-authored-by: Copilot <[email protected]>
---
 CHANGES.md                   | 7 +++++++
 chart/Chart.lock             | 2 +-
 chart/Chart.yaml             | 2 +-
 chart/templates/_helpers.tpl | 6 ++++--
 4 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/CHANGES.md b/CHANGES.md
index d0a8eab..599a062 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -2,6 +2,13 @@ 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