Add value to set manager log in json format

Signed-off-by: Sebastian Podjasek <sebastian.podjasek@intelliway.pl>
This commit is contained in:
Sebastian Podjasek 2022-07-20 17:36:18 +02:00 committed by David Ko
parent edc1b83c5f
commit d48e95b8c3
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

@ -125,6 +125,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