innerpeacez commented on code in PR #126:
URL: https://github.com/apache/skywalking-helm/pull/126#discussion_r1325398396


##########
chart/skywalking/templates/_helpers.tpl:
##########
@@ -115,6 +115,16 @@ Create the name of the service account to use for the 
satellite cluster
         echo "Waiting for postgresql..."
         sleep 3
       done
+{{- else if eq .Values.oap.storageType "banyandb" -}}
+{{- $banyandbHost := "banyandb-http" -}}
+{{- if not .Values.banyandb.enabled -}}
+{{- $banyandbHost = .Values.banyandb.config.httpHost -}}
+{{- end }}
+- name: wait-for-banyandb
+  image: curlimages/curl
+  imagePullPolicy: IfNotPresent
+  command: ['sh', '-c', 'for i in $(seq 1 60); do curl {{ $banyandbHost }}:{{ 
.Values.banyandb.config.httpPort }}/api/healthz && exit 0 || sleep 5; done; 
exit 1']
+

Review Comment:
   ```suggestion
   
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to