You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2024/04/29 16:44:24 UTC

(skywalking-banyandb-helm) branch master updated: Fix standalone tls config conditions (#11)

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

wusheng 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 585aa54  Fix standalone tls config conditions (#11)
585aa54 is described below

commit 585aa54ffec5a76372afe845720a0e946c7c99b8
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Tue Apr 30 00:44:20 2024 +0800

    Fix standalone tls config conditions (#11)
---
 chart/templates/statefulset.yaml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/chart/templates/statefulset.yaml b/chart/templates/statefulset.yaml
index f943430..173dd55 100644
--- a/chart/templates/statefulset.yaml
+++ b/chart/templates/statefulset.yaml
@@ -60,7 +60,7 @@ spec:
             - name: {{ $env.name }}
               value: {{ $env.value }}
             {{- end }}
-            {{- if .Values.cluster.data.tls}}
+            {{- if .Values.standalone.tls}}
             {{- if .Values.standalone.tls.grpcSecretName }}
             - name: BYDB_TLS
               value: "true"
@@ -96,7 +96,7 @@ spec:
               command:
                 - sh
                 - -c
-                - "/bydbctl health {{- if .Values.cluster.liaison.tls }} --enable-tls  --insecure{{- end}}"
+                - "/bydbctl health {{- if .Values.standalone.tls }} --enable-tls  --insecure{{- end}}"
             initialDelaySeconds: 20
             periodSeconds: 60
           livenessProbe:
@@ -104,7 +104,7 @@ spec:
               command:
                 - sh
                 - -c
-                - "/bydbctl health {{- if .Values.cluster.liaison.tls }} --enable-tls  --insecure{{- end}}"
+                - "/bydbctl health {{- if .Values.standalone.tls }} --enable-tls  --insecure{{- end}}"
             initialDelaySeconds: 20
             periodSeconds: 60
           
@@ -543,4 +543,4 @@ spec:
         {{- end }}
     {{- end }}
   {{- end }}
-{{- end }}
\ No newline at end of file
+{{- end }}