Allow to change the log format to json

Signed-off-by: Jonathan Muller <koren@pukogames.com>
This commit is contained in:
Jonathan Muller 2023-02-22 14:53:53 +01:00
parent 88b92909e6
commit f56bedfa76
2 changed files with 8 additions and 0 deletions

View file

@ -46,6 +46,8 @@ spec:
- "{{ .Values.controller.logging.level }}"
- "--gloglevel"
- "{{ .Values.controller.logging.globallevel }}"
- "--log-format"
- "{{ .Values.controller.logging.format }}"
{{- if .Values.singleNamespace }}
- "--namespaced"
{{- end }}

View file

@ -49,6 +49,12 @@ spec:
{{- if .Values.singleNamespace }}
- "--namespaced"
{{- end }}
- "--loglevel"
- "{{ .Values.server.logging.level }}"
- "--gloglevel"
- "{{ .Values.server.logging.globallevel }}"
- "--log-format"
- "{{ .Values.server.logging.format }}"
ports:
- name: web
containerPort: 2746