FEATURE: add log formatter flag in chart value

This commit is contained in:
chechia 2023-07-20 17:59:54 +08:00
parent d730bc8d41
commit 2fa2e846ec
No known key found for this signature in database
GPG Key ID: BF5216A9961E11A6
3 changed files with 9 additions and 1 deletions

View File

@ -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

View File

@ -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"

View File

@ -78,6 +78,10 @@ metrics:
enabled: false
port: 9090
logFormatter:
enabled: false
format: json
grpc:
enabled: false
port: 50051