From b70df8fdccf9a536d92dd76e01044766308bdf57 Mon Sep 17 00:00:00 2001
From: "Antoine R. Dumont (@ardumont)" <ardumont@softwareheritage.org>
Date: Mon, 10 Feb 2025 11:49:14 +0100
Subject: [PATCH] web: Enable citation ui

Refs. swh/infra/sysadm-environment#5562
---
 swh/values/production/swh-cassandra.yaml | 3 ++-
 swh/values/staging/next-version.yaml     | 2 ++
 swh/values/staging/swh-cassandra.yaml    | 1 +
 3 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/swh/values/production/swh-cassandra.yaml b/swh/values/production/swh-cassandra.yaml
index 343c0747e..a5135a82e 100644
--- a/swh/values/production/swh-cassandra.yaml
+++ b/swh/values/production/swh-cassandra.yaml
@@ -508,6 +508,7 @@ web:
           site_id: 59
         unauthenticated_api_hosts:
           - archive.internal.softwareheritage.org
+        activate_citations_ui: true
 
     cassandra:
       enabled: false
@@ -580,6 +581,7 @@ web:
         give:
           public_key: ${GIVE_PUBLIC_KEY}
           token: ${GIVE_PRIVATE_TOKEN}
+
     # webhooks instance to serve svix requests
     webhooks:
       # The ingress accepts only 10 concurrent requests so the number of workers
@@ -640,7 +642,6 @@ web:
       keycloakConfigurationRef: keycloakConfiguration
       inboundEmailConfigurationRef: inboundEmailConfiguration
       djangoAppsRef: webDjangoApps
-
       extraConfig:
         save_code_now_webhook_secret: ${WEBHOOKS_SECRET}
         search_config:
diff --git a/swh/values/staging/next-version.yaml b/swh/values/staging/next-version.yaml
index c1ad860d9..391dcde03 100644
--- a/swh/values/staging/next-version.yaml
+++ b/swh/values/staging/next-version.yaml
@@ -728,6 +728,8 @@ web:
       provenanceConfigurationRef: provenanceConfiguration
       graphConfigurationRef: webGraphConfiguration
       cornerRibbonRef: cornerRibbon
+      extraConfig:
+        activate_citations_ui: true
       migrations:
         enabled: false
       replicas: 1
diff --git a/swh/values/staging/swh-cassandra.yaml b/swh/values/staging/swh-cassandra.yaml
index 2c1151eab..de8be816e 100644
--- a/swh/values/staging/swh-cassandra.yaml
+++ b/swh/values/staging/swh-cassandra.yaml
@@ -973,6 +973,7 @@ web:
         give:
           public_key: ${GIVE_PUBLIC_KEY}
           token: ${GIVE_PRIVATE_TOKEN}
+        activate_citations_ui: true
 
     webhooks:
       requestedCpu: 100m
-- 
GitLab