Skip to content

Commit 52eba31

Browse files
ingress: Check if TLS secret is defined (pomerium#289)
Allows disabling SSL if it's externally terminated (LB) Co-authored-by: Travis Groth <[email protected]>
1 parent 9783a53 commit 52eba31

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

charts/pomerium/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: pomerium
3-
version: 31.0.2
3+
version: 31.0.3
44
appVersion: 0.17.0
55
home: http://www.pomerium.com/
66
icon: https://www.pomerium.com/img/icon.svg

charts/pomerium/templates/ingress.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@ spec:
2222
{{- end }}
2323
ingressClassName: {{ .Values.ingress.className }}
2424
{{- end }}
25+
{{ if (or .Values.ingress.secret.name .Values.ingress.secretName) }}
2526
tls:
2627
- secretName: {{ default .Values.ingress.secret.name .Values.ingress.secretName }}
2728
hosts:
2829
{{ include "pomerium.ingress.tls.hosts" . | indent 8 }}
30+
{{- end }}
2931
rules:
3032
{{- range .Values.ingress.hosts }}
3133
- host: {{ . | quote }}
@@ -119,4 +121,4 @@ spec:
119121
{{- if $ingressSupportsPathType }}
120122
pathType: {{ $ingressPathType }}
121123
{{- end }}
122-
{{- end }}
124+
{{- end }}

0 commit comments

Comments
 (0)