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 }}