From 96bccec4a36c8b522051a5b00f09233ac2e381ac Mon Sep 17 00:00:00 2001 From: chechia Date: Mon, 9 May 2022 18:59:11 +0800 Subject: [PATCH] fix helm chart grpc binding string --- charts/bbgo/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/bbgo/templates/deployment.yaml b/charts/bbgo/templates/deployment.yaml index 5abe690c8..c62d2e416 100644 --- a/charts/bbgo/templates/deployment.yaml +++ b/charts/bbgo/templates/deployment.yaml @@ -52,7 +52,7 @@ spec: {{- if .Values.grpc.enabled }} - "--enable-grpc" - "--grpc-bind" - - {{ .Values.grpc.port | default 50051 | quote }} + - {{ printf ":%d" (.Values.grpc.port | int) | default ":50051" | quote }} {{- end }} {{- if .Values.debug.enabled }} - "--debug"