apiVersion: v1
kind: Service
metadata:
  name: {{ include "youtube-dl.fullname" . }}-rsync
  labels:
    {{- include "youtube-dl.labels" . | nindent 4 }}
spec:
  type: {{ .Values.serviceRsync.type }}
  ports:
    - port: {{ .Values.serviceRsync.port }}
      targetPort: 873
      protocol: TCP
      name: rsync
  selector:
    {{- include "youtube-dl.selectorLabels" . | nindent 4 }}
