diff --git a/charts/pomerium/Chart.yaml b/charts/pomerium/Chart.yaml index 662beb6..4b071af 100644 --- a/charts/pomerium/Chart.yaml +++ b/charts/pomerium/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: pomerium -version: 31.0.2 +version: 31.0.3 appVersion: 0.17.0 home: http://www.pomerium.com/ icon: https://www.pomerium.com/img/icon.svg diff --git a/charts/pomerium/templates/ingress.yaml b/charts/pomerium/templates/ingress.yaml index b657dab..166bc79 100644 --- a/charts/pomerium/templates/ingress.yaml +++ b/charts/pomerium/templates/ingress.yaml @@ -22,10 +22,12 @@ spec: {{- end }} ingressClassName: {{ .Values.ingress.className }} {{- end }} + {{ if (or .Values.ingress.secret.name .Values.ingress.secretName) }} tls: - secretName: {{ default .Values.ingress.secret.name .Values.ingress.secretName }} hosts: {{ include "pomerium.ingress.tls.hosts" . | indent 8 }} + {{- end }} rules: {{- range .Values.ingress.hosts }} - host: {{ . | quote }} @@ -119,4 +121,4 @@ spec: {{- if $ingressSupportsPathType }} pathType: {{ $ingressPathType }} {{- end }} -{{- end }} \ No newline at end of file +{{- end }}