Preparing for magic

Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
Martyn 2025-03-05 11:05:40 +00:00
parent 8893c46d72
commit 187db433de

View file

@ -14,9 +14,29 @@ spec:
labels:
app: qbittorrent
spec:
initContainers:
- image: ghcr.io/tailscale/tailscale:latest
command:
- /bin/sh
- -c
- mkdir -p /persist/var/lib/tailscale
name: ts-sidecar
securityContext:
runAsGroup: 1000
runAsUser: 1000
volumeMounts:
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: kube-api-access-t4rzn
readOnly: true
- mountPath: /persist
name: persist
containers:
- image: qbittorrentofficial/qbittorrent-nox:latest
name: qbittorrent
command:
- /bin/sh
- -c
- while sleep 1; do echo '.'; done
volumeMounts:
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: kube-api-access-t4rzn
@ -51,14 +71,14 @@ spec:
key: TS_AUTHKEY
name: tailscale-auth
optional: true
livenessProbe:
exec:
command:
- ping
- -c1
- 100.100.100.100
initialDelaySeconds: 120
periodSeconds: 5
# livenessProbe:
# exec:
# command:
# - ping
# - -c1
# - 100.100.100.100
# initialDelaySeconds: 120
# periodSeconds: 5
image: ghcr.io/tailscale/tailscale:latest
name: ts-sidecar
securityContext:
@ -68,6 +88,8 @@ spec:
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: kube-api-access-t4rzn
readOnly: true
- mountPath: /persist
name: persist
preemptionPolicy: PreemptLowerPriority
priority: 0
serviceAccountName: tailscale
@ -87,6 +109,8 @@ spec:
- name: config
persistentVolumeClaim:
claimName: q-config
- name: persist
emptyDir: {}
- name: kube-api-access-t4rzn
projected:
sources: