|
@ -7,6 +7,12 @@ metadata: |
|
|
spec: |
|
|
spec: |
|
|
type: {{ .Values.service.type }} |
|
|
type: {{ .Values.service.type }} |
|
|
ports: |
|
|
ports: |
|
|
|
|
|
{{ if eq .Values.rspamd.workerProxy.milter "yes" -}} |
|
|
|
|
|
- port: {{ .Values.service.ports.milter }} |
|
|
|
|
|
targetPort: {{ .Values.service.ports.milter }} |
|
|
|
|
|
protocol: TCP |
|
|
|
|
|
name: milter |
|
|
|
|
|
{{- end }} |
|
|
- port: {{ .Values.service.ports.antispam }} |
|
|
- port: {{ .Values.service.ports.antispam }} |
|
|
targetPort: {{ .Values.service.ports.antispam }} |
|
|
targetPort: {{ .Values.service.ports.antispam }} |
|
|
protocol: TCP |
|
|
protocol: TCP |
|
|