helm-charts/rspamd/templates/service.yaml

28 lines
607 B
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ include "rspamd.fullname" . }}
labels:
{{- include "rspamd.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: 11332
targetPort: 11332
protocol: TCP
name: rspamd-proxy
- port: 11333
targetPort: 11333
protocol: TCP
name: rspamd-normal
- port: 11334
targetPort: 11334
protocol: TCP
name: rspamd-ctrl
- port: 11335
targetPort: 11335
protocol: TCP
name: rspamd-fuzzy
selector:
{{- include "rspamd.selectorLabels" . | nindent 4 }}