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 # 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. # to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/) # 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 # 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 # 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 }} {{- if .Values.webserver.enabled }}
- "--enable-webserver" - "--enable-webserver"
{{- end }} {{- end }}
{{- if .Values.logFormatter.enabled }}
- "--log-formatter"
- {{ .Values.logFormatter.format | quote }}
{{- end }}
{{- if .Values.grpc.enabled }} {{- if .Values.grpc.enabled }}
- "--enable-grpc" - "--enable-grpc"
- "--grpc-bind" - "--grpc-bind"

View File

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