From 52ff95848d9f80d2dd365c14a5315e60af6008bf Mon Sep 17 00:00:00 2001
From: "Antoine R. Dumont (@ardumont)" <ardumont@softwareheritage.org>
Date: Tue, 9 Jan 2024 11:25:36 +0100
Subject: [PATCH] web: Fix cronjob configmap name mismatch

Refs. swh/infra/sysadm-environment#5194
---
 swh/templates/web/_helper-cronjob.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/swh/templates/web/_helper-cronjob.yaml b/swh/templates/web/_helper-cronjob.yaml
index f0f2d86de..386ec7299 100644
--- a/swh/templates/web/_helper-cronjob.yaml
+++ b/swh/templates/web/_helper-cronjob.yaml
@@ -143,7 +143,7 @@ spec:
             emptyDir: {}
           - name: web-configuration-template
             configMap:
-              name: web-configuration-template
+              name: web-{{ $.webType }}-configuration-template
               items:
               - key: "config.yml.template"
                 path: "config.yml.template"
-- 
GitLab