This is an automated email from the ASF dual-hosted git repository. kezhenxu94 pushed a commit to branch fix in repository https://gitbox.apache.org/repos/asf/skywalking-banyandb-helm.git
commit 92afa15bcf5b190ef0a3408bfbc6e5a2a7cb4009 Author: kezhenxu94 <kezhenx...@apache.org> AuthorDate: Sat May 11 14:35:30 2024 +0800 Fix tls in health/liveness probes --- chart/templates/deployment.yaml | 6 +++--- chart/templates/statefulset.yaml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/chart/templates/deployment.yaml b/chart/templates/deployment.yaml index 3e23db9..51eca5d 100644 --- a/chart/templates/deployment.yaml +++ b/chart/templates/deployment.yaml @@ -119,7 +119,7 @@ spec: command: - sh - -c - - "/bydbctl health {{- if .Values.cluster.liaison.tls }} --enable-tls --insecure{{- end}}" + - "/bydbctl health {{- if .Values.cluster.liaison.tls }} --enable-tls {{- else }} --insecure{{- end}}" initialDelaySeconds: 20 periodSeconds: 60 livenessProbe: @@ -127,7 +127,7 @@ spec: command: - sh - -c - - "/bydbctl health {{- if .Values.cluster.liaison.tls }} --enable-tls --insecure{{- end}}" + - "/bydbctl health {{- if .Values.cluster.liaison.tls }} --enable-tls {{- else }} --insecure{{- end}}" initialDelaySeconds: 20 periodSeconds: 60 @@ -236,4 +236,4 @@ spec: {{- end }} {{- end }} {{- end }} -{{- end }} \ No newline at end of file +{{- end }} diff --git a/chart/templates/statefulset.yaml b/chart/templates/statefulset.yaml index 173dd55..5e66df0 100644 --- a/chart/templates/statefulset.yaml +++ b/chart/templates/statefulset.yaml @@ -96,7 +96,7 @@ spec: command: - sh - -c - - "/bydbctl health {{- if .Values.standalone.tls }} --enable-tls --insecure{{- end}}" + - "/bydbctl health {{- if .Values.standalone.tls }} --enable-tls {{- else }} --insecure{{- end}}" initialDelaySeconds: 20 periodSeconds: 60 livenessProbe: @@ -104,7 +104,7 @@ spec: command: - sh - -c - - "/bydbctl health {{- if .Values.standalone.tls }} --enable-tls --insecure{{- end}}" + - "/bydbctl health {{- if .Values.standalone.tls }} --enable-tls {{- else }} --insecure{{- end}}" initialDelaySeconds: 20 periodSeconds: 60