From c6c7beb93f384678b61963f9fadc3e669219f0ef Mon Sep 17 00:00:00 2001 From: adobrodey <8377544+ADobrodey@users.noreply.github.com> Date: Thu, 14 Mar 2024 16:43:24 +0100 Subject: [PATCH] [VDEVOPS-000]: Support for perf environment Signed-off-by: adobrodey <8377544+ADobrodey@users.noreply.github.com> --- global/k8s-common/Chart.yaml | 2 +- global/k8s-common/templates/_ingress.tpl | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/global/k8s-common/Chart.yaml b/global/k8s-common/Chart.yaml index 0196642..bf06b2f 100644 --- a/global/k8s-common/Chart.yaml +++ b/global/k8s-common/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: k8s-common -version: 1.5.1 +version: 1.6.0 description: A Library Helm Chart for grouping common logic between charts. This chart is not deployable by itself. type: library keywords: diff --git a/global/k8s-common/templates/_ingress.tpl b/global/k8s-common/templates/_ingress.tpl index ffd0841..70e8710 100644 --- a/global/k8s-common/templates/_ingress.tpl +++ b/global/k8s-common/templates/_ingress.tpl @@ -85,6 +85,8 @@ Usage: {{ .Values.global.domain }} {{- else if eq .Values.global.environment "stage" -}} {{ substr 0 4 .Values.global.product }}.stg.{{ .Values.global.domain }} +{{- else if eq .Values.global.environment "perf" -}} +{{ substr 0 4 .Values.global.product }}.prf.{{ .Values.global.domain }} {{- else -}} {{ substr 0 4 .Values.global.product }}.dev.{{ .Values.global.domain }} {{- end -}}