apiVersion: v1 kind: Service metadata: name: {{ include "jellyfin.fullname" . }} labels: {{- include "jellyfin.labels" . | nindent 4 }} spec: type: {{ .Values.service.type }} ports: - port: {{ .Values.service.port }} targetPort: 8096 protocol: TCP sessionAffinity: ClientIP selector: {{- include "jellyfin.selectorLabels" . | nindent 4 }}