Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
d4rkfella committed Jan 11, 2025
1 parent 99211cd commit 7ac3abc
Showing 1 changed file with 59 additions and 59 deletions.
118 changes: 59 additions & 59 deletions kubernetes/main/apps/media/qbittorrent/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,57 +34,57 @@ spec:
annotations:
reloader.stakater.com/auto: "true"

initContainers:
dnsdist:
image:
repository: docker.io/powerdns/dnsdist-19
tag: 1.9.8
restartPolicy: Always
#initContainers:
#dnsdist:
#image:
#repository: docker.io/powerdns/dnsdist-19
#tag: 1.9.8
#restartPolicy: Always

gluetun:
dependsOn:
- dnsdist
image:
repository: ghcr.io/qdm12/gluetun
tag: v3.40.0
env:
DOT: "off"
DNS_ADDRESS: "127.0.0.2"
VPN_SERVICE_PROVIDER: custom
VPN_TYPE: wireguard
WIREGUARD_ENDPOINT_PORT: 51820
VPN_PORT_FORWARDING: on
VPN_PORT_FORWARDING_PROVIDER: protonvpn
FIREWALL_INPUT_PORTS: 80
FIREWALL_OUTBOUND_SUBNETS: 172.16.0.0/16,172.17.0.0/16,192.168.91.0/24
WIREGUARD_ENDPOINT_IP:
valueFrom:
secretKeyRef:
name: &secret qbittorrent-secret
key: WIREGUARD_ENDPOINT_IP
WIREGUARD_PUBLIC_KEY:
valueFrom:
secretKeyRef:
name: *secret
key: WIREGUARD_PUBLIC_KEY
WIREGUARD_PRIVATE_KEY:
valueFrom:
secretKeyRef:
name: *secret
key: WIREGUARD_PRIVATE_KEY
WIREGUARD_ADDRESSES: 10.2.0.2/32
resources:
limits:
squat.ai/tun: "1"
restartPolicy: Always
securityContext:
runAsNonRoot: false
runAsUser: 0
runAsGroup: 0
capabilities:
add:
- NET_ADMIN
allowPrivilegeEscalation: false
#gluetun:
#dependsOn:
#- dnsdist
#image:
#repository: ghcr.io/qdm12/gluetun
#tag: v3.40.0
#env:
#DOT: "off"
#DNS_ADDRESS: "127.0.0.2"
#VPN_SERVICE_PROVIDER: custom
#VPN_TYPE: wireguard
#WIREGUARD_ENDPOINT_PORT: 51820
#VPN_PORT_FORWARDING: on
#VPN_PORT_FORWARDING_PROVIDER: protonvpn
#FIREWALL_INPUT_PORTS: 80
#FIREWALL_OUTBOUND_SUBNETS: 172.16.0.0/16,172.17.0.0/16,192.168.91.0/24
#WIREGUARD_ENDPOINT_IP:
#valueFrom:
#secretKeyRef:
#name: &secret qbittorrent-secret
#key: WIREGUARD_ENDPOINT_IP
#WIREGUARD_PUBLIC_KEY:
#valueFrom:
#secretKeyRef:
#name: *secret
#key: WIREGUARD_PUBLIC_KEY
#WIREGUARD_PRIVATE_KEY:
#valueFrom:
#secretKeyRef:
#name: *secret
#key: WIREGUARD_PRIVATE_KEY
#WIREGUARD_ADDRESSES: 10.2.0.2/32
#resources:
#limits:
#squat.ai/tun: "1"
#restartPolicy: Always
#securityContext:
#runAsNonRoot: false
#runAsUser: 0
#runAsGroup: 0
#capabilities:
#add:
#- NET_ADMIN
#allowPrivilegeEscalation: false

containers:
app:
Expand Down Expand Up @@ -254,12 +254,12 @@ spec:
git-sync:
- path: /tmp

dnsdist:
type: configMap
name: qbittorrent-dnsdist
advancedMounts:
qbittorrent:
dnsdist:
- path: /etc/dnsdist/dnsdist.conf
subPath: dnsdist.conf
readOnly: true
#dnsdist:
#type: configMap
#name: qbittorrent-dnsdist
#advancedMounts:
#qbittorrent:
#dnsdist:
#- path: /etc/dnsdist/dnsdist.conf
#subPath: dnsdist.conf
#readOnly: true

0 comments on commit 7ac3abc

Please sign in to comment.