Interlegis Public Rancher Charts for Kubernetes
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.

19 lines
539 B

apiVersion: v1
kind: Service
metadata:
name: {{ include "rspamd.fullname" . }}
labels:
{{- include "rspamd.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- 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 }}