mirror of
https://github.com/nikdoof/helm-charts.git
synced 2025-12-25 23:59:24 +00:00
Deluge fixes for #3
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
---
|
||||
{{ if .Values.btservice.enabled }}
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
@@ -40,21 +42,14 @@ spec:
|
||||
externalTrafficPolicy: {{ .Values.btservice.externalTrafficPolicy }}
|
||||
{{- end }}
|
||||
ports:
|
||||
- name: daemon
|
||||
port: 58846
|
||||
protocol: TCP
|
||||
targetPort: daemon
|
||||
{{ if (eq .Values.btservice.type "NodePort") }}
|
||||
nodePort: 58846
|
||||
{{ end }}
|
||||
- name: bt-tcp
|
||||
port: 58946
|
||||
protocol: TCP
|
||||
targetPort: bt-tcp
|
||||
{{ 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 }}
|
||||
|
||||
Reference in New Issue
Block a user