@ -33,7 +33,7 @@ data:
password = "{{ .Values.redis.auth.password }}";
worker-proxy.inc: |-
milter = {{ .Values.rspamd.workerProxy.milter }};
bind_socket = "*:11332"
bind_socket = "*:{{ .Values.service.ports.milter }}";
timeout = {{ .Values.rspamd.workerProxy.timeout }};
upstream "local" {
default = yes; # Self-scan upstreams are always default
@ -7,6 +7,12 @@ metadata:
spec:
type: {{ .Values.service.type }}
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 }}
targetPort: {{ .Values.service.ports.antispam }}
@ -59,6 +59,7 @@ service:
antispam: 11333
http: 11334
milter: 11332
ingress:
enabled: false