x86_64-alpine-sonarr/chart/sonarr/templates/service.yaml
2021-10-12 11:06:11 +08:00

20 lines
445 B
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ include "sonarr.fullname" . }}
labels:
{{- include "sonarr.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: 8989
protocol: TCP
name: http
- port: 9707
targetPort: 9707
protocol: TCP
name: sonarr-metrics
selector:
{{- include "sonarr.selectorLabels" . | nindent 4 }}