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

(skywalking-banyandb-helm) 01/01: Fix standalone tls config conditions

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

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

commit 9d909f22db4bc978b5bc120f5a8eaed61f0f55ae
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Mon Apr 29 21:51:47 2024 +0800

    Fix standalone tls config conditions
---
 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..a633f91 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.data.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 }}