Deluge fixes for #3

This commit is contained in:
2020-05-07 21:47:48 +01:00
parent 4dc7b0f9f2
commit 0da018df2f
5 changed files with 92 additions and 14 deletions

View File

@@ -1,3 +1,5 @@
---
{{ if .Values.btservice.enabled }}
apiVersion: v1
kind: Service
metadata:
@@ -45,9 +47,9 @@ spec:
protocol: UDP
targetPort: bt-udp
{{ if (eq .Values.btservice.type "NodePort") }}
nodePort: 58946
nodePort: {{ default 30846 .Values.btservice.nodePort }}
{{ end }}
selector:
app.kubernetes.io/name: {{ include "deluge.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{ end }}