From e69c644a5370b712259b63d65fe7f17f8c5f8b50 Mon Sep 17 00:00:00 2001 From: Keny Villela Date: Thu, 3 Oct 2024 16:44:39 -0300 Subject: [PATCH] prefix correction portalmodelo --- charts/portalmodelo/v0.5.0/Chart.yaml | 2 +- charts/portalmodelo/v0.5.0/templates/ingress.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/charts/portalmodelo/v0.5.0/Chart.yaml b/charts/portalmodelo/v0.5.0/Chart.yaml index cff3f2e..c1f4b10 100644 --- a/charts/portalmodelo/v0.5.0/Chart.yaml +++ b/charts/portalmodelo/v0.5.0/Chart.yaml @@ -2,6 +2,6 @@ apiVersion: v2 name: portalmodelo description: Portal Modelo para Casas Legislativas type: application -version: 0.5.0 +version: 0.5.1 appVersion: 3.0-21 icon: https://git.interlegis.leg.br/SEIT/rancher-charts/raw/5a821368fe0244ae9017878dd2aae3173328816c/images/portalmodelo.png diff --git a/charts/portalmodelo/v0.5.0/templates/ingress.yaml b/charts/portalmodelo/v0.5.0/templates/ingress.yaml index 6f6cb7d..88e0801 100644 --- a/charts/portalmodelo/v0.5.0/templates/ingress.yaml +++ b/charts/portalmodelo/v0.5.0/templates/ingress.yaml @@ -55,7 +55,9 @@ spec: tls: - hosts: - "{{ $hostPrefix }}.{{ $hostName }}" + {{- if eq "www" $hostPrefix }} - "{{ $hostName }}" + {{- end }} {{- if .Values.portal.addprefix }} - "{{ $addPrefix }}.{{ $hostName }}" {{- end }}