Skip to content

Commit

Permalink
Merge pull request #244 from fastlorenzo/fix-nodeport
Browse files Browse the repository at this point in the history
fix: fixed typo when external service set to NodePort
  • Loading branch information
fastlorenzo authored Apr 19, 2023
2 parents a9badf4 + 741a90d commit 0aa8d43
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions mailu/templates/front/service-external.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,55 +27,55 @@ spec:
- name: pop3
port: 110
protocol: TCP
{{- if eq $.Values.front.externalService.type "NodePort" -}}
{{ if eq $.Values.front.externalService.type "NodePort" -}}
nodePort: 110
{{- end }}
{{- end }}
{{- if .ports.pop3s }}
- name: pop3s
port: 995
protocol: TCP
{{- if eq $.Values.front.externalService.type "NodePort" -}}
{{ if eq $.Values.front.externalService.type "NodePort" -}}
nodePort: 995
{{- end }}
{{- end }}
{{- if .ports.imap }}
- name: imap
port: 143
protocol: TCP
{{- if eq $.Values.front.externalService.type "NodePort" -}}
{{ if eq $.Values.front.externalService.type "NodePort" -}}
nodePort: 143
{{- end }}
{{- end }}
{{- if .ports.imaps }}
- name: imaps
port: 993
protocol: TCP
{{- if eq $.Values.front.externalService.type "NodePort" -}}
{{ if eq $.Values.front.externalService.type "NodePort" -}}
nodePort: 993
{{- end }}
{{- end }}
{{- if .ports.smtp }}
- name: smtp
port: 25
protocol: TCP
{{- if eq $.Values.front.externalService.type "NodePort" -}}
{{ if eq $.Values.front.externalService.type "NodePort" -}}
nodePort: 25
{{- end }}
{{- end }}
{{- if .ports.smtps }}
- name: smtps
port: 465
protocol: TCP
{{- if eq $.Values.front.externalService.type "NodePort" -}}
{{ if eq $.Values.front.externalService.type "NodePort" -}}
nodePort: 465
{{- end }}
{{- end }}
{{- if .ports.submission }}
- name: smtpd
port: 587
protocol: TCP
{{- if eq $.Values.front.externalService.type "NodePort" -}}
{{ if eq $.Values.front.externalService.type "NodePort" -}}
nodePort: 587
{{- end }}
{{- end }}
Expand Down

0 comments on commit 0aa8d43

Please sign in to comment.