You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
751 B
25 lines
751 B
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "rspamd.fullname" . }}
|
|
labels:
|
|
{{- include "rspamd.labels" . | nindent 4 }}
|
|
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 }}
|
|
protocol: TCP
|
|
name: antispam
|
|
- port: {{ .Values.service.ports.http }}
|
|
targetPort: {{ .Values.service.ports.http }}
|
|
protocol: TCP
|
|
name: http
|
|
selector:
|
|
{{- include "rspamd.selectorLabels" . | nindent 4 }}
|