Add value to set manager log in json format

Signed-off-by: Sebastian Podjasek <sebastian.podjasek@intelliway.pl>
(cherry picked from commit d48e95b8c3)
This commit is contained in:
Sebastian Podjasek 2022-07-20 17:36:18 +02:00 committed by David Ko
parent af3f2220f7
commit c2293062db
2 changed files with 6 additions and 0 deletions

View File

@ -31,6 +31,9 @@ spec:
command:
- longhorn-manager
- -d
{{- if eq .Values.longhornManager.log.format "json" }}
- -j
{{- end }}
- daemon
- --engine-image
- "{{ template "registry_url" . }}{{ .Values.image.longhorn.engine.repository }}:{{ .Values.image.longhorn.engine.tag }}"

View File

@ -141,6 +141,9 @@ privateRegistry:
registrySecret: ~
longhornManager:
log:
## Allowed values are `plain` or `json`.
format: plain
priorityClass: ~
tolerations: []
## If you want to set tolerations for Longhorn Manager DaemonSet, delete the `[]` in the line above