From 73b295afe2bd2f382cb4e5a4fe41a46d545854ea Mon Sep 17 00:00:00 2001 From: Diana Gaponcic <diana.gaponcic@cern.ch> Date: Mon, 17 Jul 2023 12:00:55 +0200 Subject: [PATCH] fix service name generation for ingresses --- addon/thanos/templates/_helpers.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addon/thanos/templates/_helpers.tpl b/addon/thanos/templates/_helpers.tpl index 48a4c8d..6b1ce93 100644 --- a/addon/thanos/templates/_helpers.tpl +++ b/addon/thanos/templates/_helpers.tpl @@ -9,7 +9,7 @@ The longest name that gets created adds and extra 37 characters, so truncation s {{- if .Values.fullnameOverride -}} {{- .Values.fullnameOverride | trunc 26 | trimSuffix "-" -}} {{- else -}} -{{- $name := default .Chart.Name .Values.nameOverride -}} +{{- $name := default "kube-prometheus-stack" .Values.nameOverride -}} {{- if contains $name .Release.Name -}} {{- .Release.Name | trunc 26 | trimSuffix "-" -}} {{- else -}} -- GitLab