20 lines
541 B
YAML
20 lines
541 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "qbittorrent.fullname" . }}
|
|
labels:
|
|
{{- include "qbittorrent.labels" . | nindent 4 }}
|
|
spec:
|
|
type: {{ .Values.service.type }}
|
|
ports:
|
|
- port: {{ .Values.service.webui.port }}
|
|
targetPort: webui
|
|
protocol: TCP
|
|
name: webui
|
|
- port: {{ .Values.service.bittorrent.port }}
|
|
targetPort: bittorrent
|
|
protocol: {{ .Values.service.bittorrent.protocol }}
|
|
name: bittorrent
|
|
selector:
|
|
{{- include "qbittorrent.selectorLabels" . | nindent 4 }}
|