From 4bd89875e97642d4f3318aa64d5d2b07c32722ba Mon Sep 17 00:00:00 2001 From: rgaudin Date: Thu, 7 Nov 2024 09:02:01 +0000 Subject: [PATCH] Added lags icons support to mirrobrain mirrors listing --- zim/download-kiwix/mb-configs.cm.yaml | 18 ++++++++++++++++++ .../tasks/mb-update-db.cronjob.yaml | 4 ++++ 2 files changed, 22 insertions(+) diff --git a/zim/download-kiwix/mb-configs.cm.yaml b/zim/download-kiwix/mb-configs.cm.yaml index b81431f..b278023 100644 --- a/zim/download-kiwix/mb-configs.cm.yaml +++ b/zim/download-kiwix/mb-configs.cm.yaml @@ -676,6 +676,7 @@ data: ServerName download.kiwix.org ServerAdmin contact+download@kiwix.org DocumentRoot /var/www/download.kiwix.org + Alias /static/ /var/www/static/ MirrorBrainMetalinkPublisher "Kiwix project" https://kiwix.org MirrorBrainTorrentTrackerURL "http://tracker.openzim.org:6969/announce" @@ -773,3 +774,20 @@ data: IndexOrderDefault Descending Date + mirrorlist_header.txt: | + + + + + + %(title)s + + + + + + + + + diff --git a/zim/download-kiwix/tasks/mb-update-db.cronjob.yaml b/zim/download-kiwix/tasks/mb-update-db.cronjob.yaml index ef6ed03..72b1300 100644 --- a/zim/download-kiwix/tasks/mb-update-db.cronjob.yaml +++ b/zim/download-kiwix/tasks/mb-update-db.cronjob.yaml @@ -30,6 +30,10 @@ spec: subPath: mirrorbrain.conf mountPath: "/etc/mirrorbrain.conf" readOnly: true + - name: configs + subPath: mirrorlist_header.txt + mountPath: "/etc/mirrorlist_header.txt" + readOnly: true resources: requests: memory: "128Mi"