Skip to content
Snippets Groups Projects
Commit 73b295af authored by Diana Gaponcic's avatar Diana Gaponcic
Browse files

fix service name generation for ingresses

parent cc700646
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ The longest name that gets created adds and extra 37 characters, so truncation s ...@@ -9,7 +9,7 @@ The longest name that gets created adds and extra 37 characters, so truncation s
{{- if .Values.fullnameOverride -}} {{- if .Values.fullnameOverride -}}
{{- .Values.fullnameOverride | trunc 26 | trimSuffix "-" -}} {{- .Values.fullnameOverride | trunc 26 | trimSuffix "-" -}}
{{- else -}} {{- else -}}
{{- $name := default .Chart.Name .Values.nameOverride -}} {{- $name := default "kube-prometheus-stack" .Values.nameOverride -}}
{{- if contains $name .Release.Name -}} {{- if contains $name .Release.Name -}}
{{- .Release.Name | trunc 26 | trimSuffix "-" -}} {{- .Release.Name | trunc 26 | trimSuffix "-" -}}
{{- else -}} {{- else -}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment