16 lines
346 B
YAML
16 lines
346 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
|
||
|
selector:
|
||
|
{{- include "rspamd.selectorLabels" . | nindent 4 }}
|