fix(qbittorrent): switch to vps for vpn

This commit is contained in:
SeanOMik 2024-06-14 15:02:41 -04:00
parent 0fca43be5c
commit c27635ba77
Signed by: SeanOMik
GPG Key ID: FEC9E2FC15235964
2 changed files with 68 additions and 79 deletions

View File

@ -46,9 +46,8 @@ spec:
env:
FIREWALL_INPUT_PORTS: "8080,17871" # 17871 is the prometheus exporter
FIREWALL_VPN_INPUT_PORTS: "41500"
HEALTH_VPN_DURATION_INITIAL: "120s"
UPDATER_PERIOD: 24h
UPDATER_VPN_SERVICE_PROVIDERS: protonvpn
envFrom:
- secretRef:
@ -59,19 +58,19 @@ spec:
add:
- NET_ADMIN
port-manager:
image:
repository: git.seanomik.net/seanomik/gluetun-qbit-port-updater
tag: v0.2.0
pullPolicy: Always
env:
PORT_UPD_QBITTORRENT_HOST: localhost
PORT_UPD_QBITTORRENT_PORT: "8080"
# safe to have in plain text since qbittorrent is exposed through authentik.
PORT_UPD_QBITTORRENT_LOGIN: &qbitLogin admin
PORT_UPD_QBITTORRENT_PASSWORD: &qbitPass adminadmin
PORT_UPD_PORT_FILE: /tmp/gluetun/forwarded_port
# port-manager:
# image:
# repository: git.seanomik.net/seanomik/gluetun-qbit-port-updater
# tag: v0.2.0
# pullPolicy: Always
#
# env:
# PORT_UPD_QBITTORRENT_HOST: localhost
# PORT_UPD_QBITTORRENT_PORT: "8080"
# # safe to have in plain text since qbittorrent is exposed through authentik.
# PORT_UPD_QBITTORRENT_LOGIN: &qbitLogin admin
# PORT_UPD_QBITTORRENT_PASSWORD: &qbitPass adminadmin
# PORT_UPD_PORT_FILE: /tmp/gluetun/forwarded_port
metrics:
image:

View File

@ -4,85 +4,75 @@ metadata:
name: qbittorrent-secrets
namespace: download
stringData:
#ENC[AES256_GCM,data:ezhLKYGeXpTuSxBxKKZFvROZNKsZufWtum7M35yX3V+p7wnV0kKHTG2TGXJswH2FBLsQ0M3Z5fLQ+rfUEWI3,iv:IJEB9Mt4N+Zl/VFEyEIy/VDJRePPxN/gK2TTVQ8ddLU=,tag:rP0TGDwjD71I3thvqtYJ8A==,type:comment]
#ENC[AES256_GCM,data:vUj5N1gX00WF86YHKYfZ3WEO7nuIn5fHdmcF/gBsew==,iv:W5TVlE37Mn0lv1nSgin4OJFRiektGZ1z2q1DLHX3sSA=,tag:4ESyFNnmguTVEpSgzErleA==,type:comment]
#ENC[AES256_GCM,data:PZ3SYPv6QKBBQdir7Pmy0fkGGEQgPIWLXV1TbKDZhCRQ+/UgK6mEKJIeT2qEGA==,iv:fzSSeBQxzsCNe1KQ6M0/H33VkmC/G5D3GdVPQZUk8pk=,tag:gqw9SJ5zYJZsz7NeF4uQyQ==,type:comment]
#ENC[AES256_GCM,data:QgIT7QsPsKR0izYNbd0NneRYiNa8w9ocWVM8CUOtMkqOiA==,iv:SCYdC1uomz3isYhtTwuJ4DHEg4TshPVpUvJr7VuZW9o=,tag:+rKmd4J60ebhCgoFD/Eu5w==,type:comment]
#ENC[AES256_GCM,data:qxL5NS6KqzT7d2EPfb5rBrNJug/U3B0V+DCwgWpjGZ1mdUwD2/BmXDH+/4DEbclhsZs=,iv:r2b/tWLZXqg16/so8bYdOjnlDt8ojwQjRVFdSxnBS3E=,tag:eCMRuajLFTdJ4YRIVYSKqg==,type:comment]
#ENC[AES256_GCM,data:BkEcjFfn6SdegvZmA/V8X8bVl2b87kBvqTTVWSl22A==,iv:PJunlTEkXdsMyD8R6EKSZLMeNzo6WPgw8d95C+ofnZI=,tag:28qXF1pBpJ+k+OxAR9lokQ==,type:comment]
#ENC[AES256_GCM,data:N2yRSaWmRF3GNPKQDynXDhEgrMnRUbt0tQ==,iv:giOzwW9ufzyn+iiIq6YGOsOPYCTiWw8+vS+FT+yLrJ4=,tag:IptRCKGMQDwXCLpYNHumxA==,type:comment]
#ENC[AES256_GCM,data:RfMB+Ysz5EMHxx5l2LFNZAsWRr7Mo6dW6n9v0lMoXy3rgwZOC90I,iv:80Dyg9UMVtego5DUxb8j1xJHTusL042ZunZ48/9K020=,tag:WtXq6YBJfzzR6lBGIMLqLA==,type:comment]
VPN_SERVICE_PROVIDER: ENC[AES256_GCM,data:UiQ3ewXV,iv:Acx2dscA1PKx5zBXUbPMzpnXd9UNv2jD9qCKwSrjDB4=,tag:RFVBjgaivPMzbes5PmpnBA==,type:str]
VPN_TYPE: ENC[AES256_GCM,data:ug94Ezg6PWUb,iv:ahx80JvdjrQuX8ipF0VgsrfKnxrZd+PXBHfG9h/8mRQ=,tag:TUoN25g2SYhO1UcyDCHpEg==,type:str]
VPN_ENDPOINT_IP: ENC[AES256_GCM,data:UzthLV1DoK1CJkJeCw==,iv:hxd27MqGnHRvBwsZfgQdqKZWsyEUhuXEcfJiTJ/YIG0=,tag:XhpP4VGFX5MtNjxOiAY/8A==,type:str]
VPN_ENDPOINT_PORT: ENC[AES256_GCM,data:LQfw8TE=,iv:h5mbC1EAwUy66s+Is89+tH5pfdMzNPSYI8LCDcFNnEE=,tag:mf4kgCdvCVChTERmrMQS3Q==,type:str]
WIREGUARD_PUBLIC_KEY: ENC[AES256_GCM,data:rDUKyPniXfsBPC4u6MI+zWVuIsw4cgGW6ZbvWWfALsmgTA6cAn07Ekr8tiA=,iv:CAG0OhSUz+pmSSALSeWBTFgzG7a3VD77GBfAIlGt/QY=,tag:KbVVYhq572JBAlM3VOlZCg==,type:str]
WIREGUARD_PRIVATE_KEY: ENC[AES256_GCM,data:6Q0yNYuGk4qYD5u/9gKBGfgaiiKhox7KWJC5o7rDS/NAMLX7+TsGKhUUJMA=,iv:VnnJJKc/gjyM87vHPO9f4QDbAHEDxMN9Q2obF2j3E58=,tag:2t++eBUIAOHDG+xg9qud4A==,type:str]
WIREGUARD_ADDRESSES: ENC[AES256_GCM,data:ylpmd2mX+yFh0P4=,iv:y83vf97fwjJOyeJT/IZaHSYu2Ge56g9hesFL28VkC+Y=,tag:5gqEgbC8VIPws4uiqswh7A==,type:str]
VPN_PORT_FORWARDING: ENC[AES256_GCM,data:xBo=,iv:2HiM6OkGizaCjEXzGhk4pV54lwUGh5s9uvmudAIFmKI=,tag:IlZqKVyc0raTTD6X0hG6Vg==,type:str]
VPN_PORT_FORWARDING_PROVIDER: ENC[AES256_GCM,data:0f0nDPAYvzai,iv:p8F7/8C2aAFXX6Bv7qdTxRlYvaGvKuWNwVGVXd5ve0Q=,tag:1I5kte4UCvFK45bCV2F3rw==,type:str]
PUBLICIP_API: ENC[AES256_GCM,data:U+OjX7lk,iv:rTB3x3gfwiMZYTJoP0wmCQ/TRyBL693h2wH+P24HR3g=,tag:KXa7iDjXjCM/fur8nfVYdw==,type:str]
PUBLICIP_API_TOKEN: ENC[AES256_GCM,data:7YAQxUeEz5Xz4JZACdU=,iv:NhiwrBEvGELBl6JC2MDOgOwttfH5IGJ3hh9hwthSDI4=,tag:B1ir6rtfpORtf0rF21AYaQ==,type:str]
VPN_SERVICE_PROVIDER: ENC[AES256_GCM,data:DyL4u0gl,iv:PChVYvi9ROL+2L+W1Xm/RhZqt5BBbjv1DYF/73Ab98A=,tag:zfcDHCGBvB2L0Tn14knLYw==,type:str]
VPN_TYPE: ENC[AES256_GCM,data:G9+rhZPNIoYW,iv:aB12VEwY9RRecmf6izYrg52EHL1N5OukbxqaOxh/Frw=,tag:7FI24DGoz/zlHtEQwSnOTg==,type:str]
VPN_ENDPOINT_IP: ENC[AES256_GCM,data:kYHhv1gRNgphf/ibZVM=,iv:AGE+eQyxmneJdFY+GCATDIyabFbv3vt+TP2oKffYc+8=,tag:lHNiLbLIzF6yF0ag/BM/kQ==,type:str]
VPN_ENDPOINT_PORT: ENC[AES256_GCM,data:q/k5pBQ=,iv:9dRVgqEFnRZ6YAMAYsgZJ7nxrVpSE/jZiD0mj/Cc1qk=,tag:LC5Qjfh9ZzcrSp4aOtda6A==,type:str]
WIREGUARD_PUBLIC_KEY: ENC[AES256_GCM,data:TIAuTFXuA6uuUV2ZTNsTLSX8dFe9uQhtbGW1SQJv3/oTl+9Zr3ycDJWQHP8=,iv:D33e5nPNDl8iJ8eS+Xx9gUBGAokeofonhDNTAH8CJkk=,tag:pibbEFzpti/StfPFP/mQfA==,type:str]
WIREGUARD_PRIVATE_KEY: ENC[AES256_GCM,data:z9zB3tiMJ7ulYkHTUrAw49+teQohLujuU5229Texg2a6qpr0lbrMomVB4+Q=,iv:3Z7+irLRZtUsARa8eELUSZlHGg0eCufqBWmSFnzZBc8=,tag:zBJllUPVJcEsrj3vgFYAmg==,type:str]
WIREGUARD_ADDRESSES: ENC[AES256_GCM,data:U3EWfBcTdquvD5Y=,iv:bVgQXe58b+Qyo8ITlwdkeN6VKBSX6rdL86kt3SWbwXw=,tag:pJupP5YAnV1oY3IPU8lc0Q==,type:str]
PUBLICIP_API: ENC[AES256_GCM,data:Xj2wWvGu,iv:RMu52TbPOY6ZbJZ31fdZ+5mriBp7Xx5E9edzyNqKy7w=,tag:Tk2Or32ewmg0wqAvK04zWg==,type:str]
PUBLICIP_API_TOKEN: ENC[AES256_GCM,data:gHIzaNQ+ym1q0HKh3zg=,iv:YBtXJ+tcCviAJi3HazfDg5MSRvxIegyYW+nRkW0DMWk=,tag:5tko/Mz1YTgPrx3Yxppygg==,type:str]
sops:
kms: []
gcp_kms: []
azure_kv: []
hc_vault: []
age: []
lastmodified: "2024-06-11T00:13:37Z"
mac: ENC[AES256_GCM,data:5v1lMTfTgwn+3WWfF69CM7O5BLfQ28ZvQ9n/UPJ2LKpS87wTlcqsll6f00dGC4iUbnr/+FYueEQRlN8Z7I/9PYmo3//PJTLrU0Ywl+aJ+vr853QtTzgdOyUVoVRJHK/+Hv0VYu/YmUm8DC2kcCT7GcwUE5HR1aI3+ka5esp2SKY=,iv:WuzQo5cuDV7VpZ6pzPk8phWfMjNM5bBlpuhpCy4/EP0=,tag:cfFWFbnAhz/Z24ZrCP0KVw==,type:str]
lastmodified: "2024-06-14T19:01:52Z"
mac: ENC[AES256_GCM,data:pfrO+IfMsKOVDWJqjGIrN+GT7uIoUDSUTfgjL2goxwZHhlwba0jVsfWxIvFusVgIR2kGH3jUPoy1NnSNydMC78YgEN3zNkorDm9jJ7489tfyFw7zu6iEX58fcFRr1XKltPlDdQgNTFmULWuuD0GHHP7QsnYUcRBz+tYV4QheGC0=,iv:XpdrFmphX+3JtmjixRB64SPI7sDrAZD6rpk3ztKQZiE=,tag:yCl9FPVjRu0/SyiMrbsUzA==,type:str]
pgp:
- created_at: "2024-06-11T00:13:37Z"
- created_at: "2024-06-14T19:01:52Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hQIMAyqlIeyoxYovAQ//ZQMYd64phTxnyw7YQhgwYtstIkdVFEWJq03a4cHCs3wX
Sd9uRJS3mv3xAkNAIp1vDo//TcvrC6fArysMql06NwITTAXbLjyjha9eO+INMTen
DRcLJqVdsh1rV4OxaebPp+dKg0lLdknSWyup2Pl4GeJD51xJ7WShsqxHVWzp+ZrM
Nn3/6L7bayGdTc9GeVzoe3yAxdyaDBMX/8WdLwzp6boUhx8hkIUvy7kCTReqDqLH
Y/5bQ/S4zNQLgftTxM4ggeewoq5quXuPpG4jPnADLX3x01SPxGYho4UhP9+MHemP
UTFRTbe+90WiJvT8CujhsNBJ/Wh92IWfvn6k4XYZK7oAmgILawyhuBmFMYZm95+l
AEeUct54Er0nhUllOETb46UAscuWB09HeDNI4oxKkX7na1NRwisw3GFviehktPwD
Mx7CqRgdHj9eYeoFHMoxKPe/Us2nE7HbuaCxHwg12emI3J27c0lLnyYokM07eE/I
XhmSt9HQ9NzipGuEJZlg2foT8GKKw1FFR/ilwikbXpf6uF/CofzbINUXvOQnEFYi
gesQ4xTeR6EGmhlghVXhI98rSVAWmX8bAjcxzJjifAIboLd3Les62qSkV35m1z4t
J8AgSZ0zXLFRN4e0SfC8P9g8s45612Wgit5CzqjKY+fZ1stFEjpv3w3CYsCcrQ6F
AgwDXjg0p2IN1X8BD/9ygJ2OZ7unEzBaKSuNR+X2X1ZVSnVtxVLVUISeNJQxkyZ6
UGO3gx0w6GPl5TfZt17J9uBlEBsma3ntMN4ggREdMMzanQS4ydiY5/Ms7y7V5ciM
N7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