From 867c1cbbc733034a8c4d487de5c7fafb2503730c Mon Sep 17 00:00:00 2001
From: "Antoine R. Dumont (@ardumont)" <ardumont@softwareheritage.org>
Date: Tue, 16 May 2023 15:10:34 +0200
Subject: [PATCH] opentelemetry: Fix edge case

When no indexes key was present in the default values, we were forced to systematically
declare the index names (which was not initially intended). Adding this key make it
optional as intended (default values are computed in the chart).

Refs. swh/infra/sysadm-environment#4524
---
 cluster-configuration/values.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cluster-configuration/values.yaml b/cluster-configuration/values.yaml
index 36ad6d064..f5106d607 100644
--- a/cluster-configuration/values.yaml
+++ b/cluster-configuration/values.yaml
@@ -46,7 +46,7 @@ otlpCollector:
   debug: false
   version: 0.57.0
   # namespace: opentelemetry
-  # indexes:
+  indexes: {}
   #   swh: staging-logs
   #   system: staging-system-logs
   # resources:
-- 
GitLab