transmission use helm chart
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: transmission-tcp
|
||||
namespace: {{ .Values.namespace }}
|
||||
labels:
|
||||
app: {{ .Chart.Name }}
|
||||
{{- include "transmission.labels" . | nindent 4 }}
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
ipFamilyPolicy: PreferDualStack
|
||||
ipFamilies:
|
||||
- IPv4
|
||||
- IPv6
|
||||
selector:
|
||||
app: transmission
|
||||
ports:
|
||||
- port: {{ .Values.ports.transmission.web }}
|
||||
targetPort: web
|
||||
protocol: TCP
|
||||
name: web
|
||||
- port: {{ .Values.ports.transmission.torrent }}
|
||||
targetPort: torrent-tcp
|
||||
protocol: TCP
|
||||
name: torrent
|
||||
---
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: transmission-udp
|
||||
namespace: {{ .Values.namespace }}
|
||||
labels:
|
||||
app: {{ .Chart.Name }}
|
||||
{{- include "transmission.labels" . | nindent 4 }}
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
ipFamilyPolicy: PreferDualStack
|
||||
ipFamilies:
|
||||
- IPv4
|
||||
- IPv6
|
||||
selector:
|
||||
app: transmission
|
||||
ports:
|
||||
- port: {{ .Values.ports.transmission.torrent }}
|
||||
targetPort: torrent-udp
|
||||
protocol: UDP
|
||||
name: torrent
|
||||
Reference in New Issue
Block a user