postfixadmin-charts/templates/postfixadmin/service.yaml

16 lines
376 B
YAML
Raw Normal View History

2021-09-26 18:33:17 +00:00
apiVersion: v1
kind: Service
metadata:
name: {{ include "postfixadmin.fullname" . }}
labels:
{{- include "postfixadmin.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "postfixadmin.selectorLabels" . | nindent 4 }}