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"