From ebe0f5bfe6f3aa79626692f91a7b7226ce4a5a4d Mon Sep 17 00:00:00 2001
From: "Antoine R. Dumont (@ardumont)" <ardumont@softwareheritage.org>
Date: Mon, 22 May 2023 17:54:01 +0200
Subject: [PATCH] Make lister output their log as json records by default 3/3

Refs. swh/infra/sysadm-environment#4886
---
 swh/templates/listers/deployment.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/swh/templates/listers/deployment.yaml b/swh/templates/listers/deployment.yaml
index 95f22625f..8ab2c40dc 100644
--- a/swh/templates/listers/deployment.yaml
+++ b/swh/templates/listers/deployment.yaml
@@ -127,7 +127,7 @@ spec:
             path: "config.yml.template"
           - key: "init-container-entrypoint.sh"
             path: "init-container-entrypoint.sh"
-        {{ if $use_json_logger -}}
+        {{ if $use_json_logger }}
           - key: "logging-configuration.yml"
             path: "logging-configuration.yml"
         {{ end }}
-- 
GitLab