mirror of
https://github.com/bokysan/docker-postfix.git
synced 2025-09-06 22:44:59 +08:00
Add missing appProtocol
This commit is contained in:
parent
fc5f540436
commit
f0935199ae
1 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,7 @@ spec:
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
name: smtp
|
name: smtp
|
||||||
{{ if eq .Values.service.type "NodePort" }}nodePort: {{ .Values.service.nodePort }}{{ end }}
|
{{ if eq .Values.service.type "NodePort" }}nodePort: {{ .Values.service.nodePort }}{{ end }}
|
||||||
|
{{ if .Values.service.appprotocol }}appProtocol: {{ .Values.service.appprotocol }}{{ end }}
|
||||||
selector:
|
selector:
|
||||||
{{- $selectorLabels | nindent 4 }}
|
{{- $selectorLabels | nindent 4 }}
|
||||||
{{- if .Values.headlessService.enabled }}
|
{{- if .Values.headlessService.enabled }}
|
||||||
|
@ -46,6 +47,7 @@ spec:
|
||||||
targetPort: smtp
|
targetPort: smtp
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
name: smtp
|
name: smtp
|
||||||
|
{{ if .Values.service.appprotocol }}appProtocol: {{ .Values.service.appprotocol }}{{ end }}
|
||||||
selector:
|
selector:
|
||||||
{{- $selectorLabels | nindent 4 }}
|
{{- $selectorLabels | nindent 4 }}
|
||||||
{{- end -}}
|
{{- end -}}
|
Loading…
Add table
Reference in a new issue