Skip to content

Commit

Permalink
Merge pull request #1236 from chechiachang/feature/add-log-formatter-…
Browse files Browse the repository at this point in the history
…to-chart-value

FEATURE: add log formatter flag in chart value
  • Loading branch information
chechiachang authored Jul 21, 2023
2 parents d730bc8 + 2fa2e84 commit 3b68d65
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/bbgo/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.3.4
version: 0.3.5

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
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 3b68d65

Please sign in to comment.