2021-01-17 01:09:41 +00:00
|
|
|
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
|
2021-01-17 01:14:26 +00:00
|
|
|
- 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
|
2021-01-17 01:09:41 +00:00
|
|
|
selector:
|
|
|
|
{{- include "rspamd.selectorLabels" . | nindent 4 }}
|