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.
18 lines
492 B
18 lines
492 B
3 years ago
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
3 years ago
|
name: {{ include "mailproxy.fullname" . }}-mailauth
|
||
3 years ago
|
labels:
|
||
|
{{- include "mailproxy.labels" . | nindent 4 }}
|
||
|
spec:
|
||
3 years ago
|
type: {{ .Values.mailauth.service.type }}
|
||
3 years ago
|
ports:
|
||
3 years ago
|
{{- range $i, $port := .Values.mailauth.service.ports }}
|
||
3 years ago
|
- port: {{ $port.number }}
|
||
|
targetPort: {{ $port.number }}
|
||
|
protocol: {{ $port.protocol }}
|
||
|
name: {{ $port.name }}
|
||
|
{{- end }}
|
||
|
selector:
|
||
|
{{- include "mailproxy.selectorLabels" . | nindent 4 }}
|