From 49e4157386d66f9f08f6e720f4ab5b6dfa503c28 Mon Sep 17 00:00:00 2001
From: Guillaume Samson <guillaume.samson@softwareheritage.org>
Date: Mon, 3 Apr 2023 17:06:54 +0200
Subject: [PATCH] storage: specify objstorage in configuration

Related to swh/infra/sysadm-environment#4811
---
 swh/templates/storage/configmap.yaml | 2 +-
 swh/values.yaml                      | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/swh/templates/storage/configmap.yaml b/swh/templates/storage/configmap.yaml
index 41c41b577..21a6e4890 100644
--- a/swh/templates/storage/configmap.yaml
+++ b/swh/templates/storage/configmap.yaml
@@ -21,5 +21,5 @@ data:
         {{- end }}
       {{- end }}
       objstorage:
-        cls: noop
+      {{- toYaml .Values.storage.objstorage | nindent 8 }}
 {{- end -}}
diff --git a/swh/values.yaml b/swh/values.yaml
index bb27854e4..afdeec9fc 100644
--- a/swh/values.yaml
+++ b/swh/values.yaml
@@ -194,6 +194,8 @@ storage:
       - seed1
     keySpace: swh
     consistencyLevel: LOCAL_QUORUM
+  objstorage:
+    cls: noop
 
 statsd_exporter:
   enabled: false
-- 
GitLab