Skip to content

Commit

Permalink
FEATURE: add log formatter flag in chart value
Browse files Browse the repository at this point in the history
  • Loading branch information
chechiachang committed Jul 20, 2023
1 parent d730bc8 commit 1d9edbe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/bbgo/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ spec:
{{- if .Values.webserver.enabled }}
- "--enable-webserver"
{{- end }}
{{- if .Values.logFormatter.enabled }}
- "--log-formatter"
- {{ .Values.logFormatter.format | quote }}
{{- end }}
{{- if .Values.grpc.enabled }}
- "--enable-grpc"
- "--grpc-bind"
Expand Down
4 changes: 4 additions & 0 deletions charts/bbgo/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ metrics:
enabled: false
port: 9090

logFormatter:
enabled: false
format: json

grpc:
enabled: false
port: 50051
Expand Down

0 comments on commit 1d9edbe

Please sign in to comment.