Skip to content

Commit

Permalink
fix: fixed typo when external service set to NodePort
Browse files Browse the repository at this point in the history
Signed-off-by: fastlorenzo <[email protected]>
  • Loading branch information
fastlorenzo committed Apr 19, 2023
1 parent baca17a commit 741a90d
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 741a90d

Please sign in to comment.