You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ha...@apache.org on 2025/11/06 12:16:53 UTC

(skywalking-banyandb-helm) branch master updated: Fix missing env in the restore init container (#38)

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 5b24a0f  Fix missing env in the restore init container (#38)
5b24a0f is described below

commit 5b24a0f986f14db7ab44a9d6ddb6cc1f7fff86b2
Author: mrproliu <74...@qq.com>
AuthorDate: Thu Nov 6 21:16:48 2025 +0900

    Fix missing env in the restore init container (#38)
---
 chart/templates/cluster_data_statefulset.yaml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/chart/templates/cluster_data_statefulset.yaml b/chart/templates/cluster_data_statefulset.yaml
index ecc7bde..9db3538 100644
--- a/chart/templates/cluster_data_statefulset.yaml
+++ b/chart/templates/cluster_data_statefulset.yaml
@@ -104,6 +104,11 @@ spec:
             - {{ $flag | quote }}
             {{- end }}
             {{- end }}
+          env:
+            - name: ORDINAL_NUMBER
+              valueFrom:
+                fieldRef:
+                  fieldPath: metadata.labels['apps.kubernetes.io/pod-index']
           {{- if $.Values.storage.data.enabled }}
           volumeMounts:
             {{- range $claim := $.Values.storage.data.persistentVolumeClaims }}