From 30ee54f0789c944cca2b71c5d84c3eeab78ffdc0 Mon Sep 17 00:00:00 2001
From: Vincent SELLIER <vincent.sellier@softwareheritage.org>
Date: Tue, 4 Oct 2022 18:39:06 +0200
Subject: [PATCH] thanos: Declare archive-production thanos for live data
 querying

Related to T4385
---
 data/common/common.yaml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/data/common/common.yaml b/data/common/common.yaml
index 060834c5b..bec2f3afd 100644
--- a/data/common/common.yaml
+++ b/data/common/common.yaml
@@ -1109,6 +1109,10 @@ bind::resource_records:
     type: CNAME
     record: reaper.internal.softwareheritage.org
     data: k8s-archive-production.internal.softwareheritage.org.
+  k8s-archive-production-thanos/CNAME:
+    type: CNAME
+    record: k8s-archive-production-thanos.internal.softwareheritage.org
+    data: k8s-archive-production.internal.softwareheritage.org.
   glyptotek/A: # OPNSense firewall, not managed by puppet
     record: "%{alias('opnsense::hosts.glyptotek.fqdn')}"
     data: "%{alias('opnsense::hosts.glyptotek.ip')}"
@@ -3382,6 +3386,7 @@ thanos::objstore::config:
 # Other puppet managed stores will be automatically dealt with
 thanos::query::non_puppet_managed::stores:
   - mmca-thanos.softwareheritage.org:443
+  - k8s-archive-production-thanos.internal.softwareheritage.org:443
 
 thanos::stores:
   historical:
-- 
GitLab