Thu 07 Aug 2025 10:20:11 PM EDT
This commit is contained in:
1 parent
76f6b27e7a
commit
db071835fe
4 files changed
+54
-5
No files matched your search
File renamed without changes.
File renamed without changes.
@@ -36,6 +36,26 @@ spec:
|
|||||||
{{ $.Values.transmission.resources | toYaml | nindent 25 }}
|
{{ $.Values.transmission.resources | toYaml | nindent 25 }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
{{ $.Values.transmission.volumeMounts | toYaml | nindent 25 }}
|
{{ $.Values.transmission.volumeMounts | toYaml | nindent 25 }}
|
||||||
|
livenessProbe:
|
||||||
|
exec:
|
||||||
|
command:
|
||||||
|
- sh
|
||||||
|
- -c
|
||||||
|
- "ping -c 1 www.google.com || exit 1"
|
||||||
|
initialDelaySeconds: 20
|
||||||
|
periodSeconds: 60
|
||||||
|
failureThreshold: 3
|
||||||
|
timeoutSeconds: 10
|
||||||
|
readinessProbe:
|
||||||
|
exec:
|
||||||
|
command:
|
||||||
|
- sh
|
||||||
|
- -c
|
||||||
|
- "ping -c 1 www.google.com || exit 1"
|
||||||
|
initialDelaySeconds: 20
|
||||||
|
periodSeconds: 60
|
||||||
|
failureThreshold: 3
|
||||||
|
timeoutSeconds: 10
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if $.Values.qbittorrent.enabled }}
|
{{ if $.Values.qbittorrent.enabled }}
|
||||||
- name: qbittorrent
|
- name: qbittorrent
|
||||||
@@ -51,6 +71,27 @@ spec:
|
|||||||
{{ $.Values.qbittorrent.resources | toYaml | nindent 25 }}
|
{{ $.Values.qbittorrent.resources | toYaml | nindent 25 }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
{{ $.Values.qbittorrent.volumeMounts | toYaml | nindent 25 }}
|
{{ $.Values.qbittorrent.volumeMounts | toYaml | nindent 25 }}
|
||||||
|
livenessProbe:
|
||||||
|
exec:
|
||||||
|
command:
|
||||||
|
- sh
|
||||||
|
- -c
|
||||||
|
- "ping -c 1 www.google.com || exit 1"
|
||||||
|
initialDelaySeconds: 20
|
||||||
|
periodSeconds: 60
|
||||||
|
failureThreshold: 3
|
||||||
|
timeoutSeconds: 10
|
||||||
|
readinessProbe:
|
||||||
|
exec:
|
||||||
|
command:
|
||||||
|
- sh
|
||||||
|
- -c
|
||||||
|
- "ping -c 1 www.google.com || exit 1"
|
||||||
|
initialDelaySeconds: 20
|
||||||
|
periodSeconds: 60
|
||||||
|
failureThreshold: 3
|
||||||
|
timeoutSeconds: 10
|
||||||
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: vpn
|
- name: vpn
|
||||||
@@ -96,6 +137,16 @@ spec:
|
|||||||
capabilities:
|
capabilities:
|
||||||
add:
|
add:
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
|
readinessProbe:
|
||||||
|
exec:
|
||||||
|
command:
|
||||||
|
- sh
|
||||||
|
- -c
|
||||||
|
- "ping -c 1 www.google.com || exit 1"
|
||||||
|
initialDelaySeconds: 20
|
||||||
|
periodSeconds: 60
|
||||||
|
failureThreshold: 3
|
||||||
|
timeoutSeconds: 10
|
||||||
- name: ping
|
- name: ping
|
||||||
image: {{ $.Values.busybox.image }}
|
image: {{ $.Values.busybox.image }}
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
|
|
||||||
volumes: []
|
volumes: []
|
||||||
|
|
||||||
transmission:
|
transmission:
|
||||||
enabled: true
|
enabled: true
|
||||||
image: linuxserver/transmission
|
image: linuxserver/transmission
|
||||||
env:
|
env:
|
||||||
PUID: "1000"
|
PUID: "1000"
|
||||||
PGID: "100"
|
PGID: "100"
|
||||||
TZ: Etc/UTC
|
TZ: Etc/UTC
|
||||||
@@ -17,7 +16,7 @@ qbittorrent:
|
|||||||
ports:
|
ports:
|
||||||
webui: 3000
|
webui: 3000
|
||||||
torrenting: 6881
|
torrenting: 6881
|
||||||
env:
|
env:
|
||||||
PUID: "1000"
|
PUID: "1000"
|
||||||
PGID: "100"
|
PGID: "100"
|
||||||
TZ: Etc/UTC
|
TZ: Etc/UTC
|
||||||
@@ -25,7 +24,7 @@ qbittorrent:
|
|||||||
gluetun:
|
gluetun:
|
||||||
image: qmcgaw/gluetun:v3
|
image: qmcgaw/gluetun:v3
|
||||||
resources: {}
|
resources: {}
|
||||||
env:
|
env:
|
||||||
HEALTH_VPN_DURATION_INITIAL: 120s
|
HEALTH_VPN_DURATION_INITIAL: 120s
|
||||||
BLOCK_MALICIOUS: "off"
|
BLOCK_MALICIOUS: "off"
|
||||||
DNS_KEEP_NAMESERVER: "on"
|
DNS_KEEP_NAMESERVER: "on"
|
||||||
@@ -35,4 +34,3 @@ gluetun:
|
|||||||
busybox:
|
busybox:
|
||||||
image: busybox
|
image: busybox
|
||||||
resources: {}
|
resources: {}
|
||||||
|
|
||||||
Reference in new issue
Block a user