Skip to content
Snippets Groups Projects
Verified Commit 6173c469 authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

Make lister output their log as json records by default 2/2

Refs. swh/infra/sysadm-environment#4886
parent 58e8dad8
No related branches found
No related tags found
No related merge requests found
......@@ -109,6 +109,12 @@ spec:
subPath: "pre-stop.sh"
- name: configuration
mountPath: /etc/swh
{{ if $use_json_logger -}}
- name: configuration-template
mountPath: /etc/swh/logging-configuration.yml
subPath: "logging-configuration.yml"
readOnly: true
{{ end }}
volumes:
- name: configuration
{{ toYaml ($.Values.tmpEphemeralStorage.claimTemplate | default $.Values.tmpEphemeralStorage.default) | indent 8 }}
......@@ -121,6 +127,10 @@ spec:
path: "config.yml.template"
- key: "init-container-entrypoint.sh"
path: "init-container-entrypoint.sh"
{{ if $use_json_logger -}}
- key: "logging-configuration.yml"
path: "logging-configuration.yml"
{{ end }}
- name: lister-utils
configMap:
name: lister-utils
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment