Move TS to a separate deploy

Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
Martyn 2025-03-05 16:26:53 +00:00
parent 020d13ada2
commit 7a57c678c2

View file

@ -15,39 +15,6 @@ spec:
app: qbittorrent app: qbittorrent
spec: spec:
initContainers: initContainers:
- image: ghcr.io/tailscale/tailscale:v1.80.3
restartPolicy: Always # Sidecar
env:
- name: TS_KUBE_SECRET
value: tailscale
- name: TS_USERSPACE
value: "false"
- name: TS_OUTBOUND_HTTP_PROXY_LISTEN
value: "localhost:1055"
- name: TS_SOCKS5_SERVER
value: "localhost:1055"
- name: TS_EXTRA_ARGS
value: "--exit-node=100.90.55.121"
- name: TS_AUTHKEY
valueFrom:
secretKeyRef:
key: TS_AUTHKEY
name: tailscale-auth
command:
- /bin/sh
- -c
- while sleep 1; do echo '.'; done
name: ts-prep
securityContext:
runAsGroup: 0
runAsUser: 0
privileged: true
volumeMounts:
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: kube-api-access-t4rzn
readOnly: true
- mountPath: /persist
name: persist
containers: containers:
- image: qbittorrentofficial/qbittorrent-nox:latest - image: qbittorrentofficial/qbittorrent-nox:latest
name: qbittorrent name: qbittorrent
@ -72,14 +39,6 @@ spec:
value: "/config" value: "/config"
- name: QBT_DOWNLOADS - name: QBT_DOWNLOADS
value: "/downloads" value: "/downloads"
# livenessProbe:
# exec:
# command:
# - ping
# - -c1
# - 100.100.100.100
# initialDelaySeconds: 120
# periodSeconds: 5
preemptionPolicy: PreemptLowerPriority preemptionPolicy: PreemptLowerPriority
priority: 0 priority: 0
serviceAccountName: tailscale serviceAccountName: tailscale
@ -99,10 +58,6 @@ spec:
- name: config - name: config
persistentVolumeClaim: persistentVolumeClaim:
claimName: q-config claimName: q-config
- name: persist
emptyDir: {}
- name: runfolder
emptyDir: {}
- name: kube-api-access-t4rzn - name: kube-api-access-t4rzn
projected: projected:
sources: sources: