homelab/argocd/apps/proxy-pac.yaml
Nik Afiq b17eceb950
Some checks failed
validate / lint (push) Failing after 8s
feat: serve PAC file routing nyaa.si via browser-vpn-proxy
Add a proxy-pac Argo CD Application: an nginx-unprivileged pod serving
http://proxy.home.arpa:8082/proxy.pac. The PAC sends nyaa.si and its
subdomains to the existing VLAN 50 SOCKS5 proxy (10.10.40.20:1080, which
resolves via Technitium's piracy-exempt group and egresses via PIA) with
no DIRECT fallback; everything else goes DIRECT. Intended for iOS, which
can't take a manual SOCKS proxy but honours SOCKS from a PAC.

Plain HTTP on a ServiceLB port because proxy.home.arpa already points at
10.10.40.20 in Technitium, while Traefik only answers on 10.10.40.53.
Port 8082 was checked free on all nodes; 8080 is taken on nik-debian.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 23:05:48 +09:00

24 lines
501 B
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: proxy-pac
namespace: argocd
spec:
project: default
source:
repoURL: https://gitea.nik4nao.com/nik/homelab.git
targetRevision: main
path: manifests/proxy-pac
directory:
recurse: true
include: '*.yaml'
destination:
server: https://kubernetes.default.svc
namespace: proxy-pac
syncPolicy:
automated:
prune: false
selfHeal: true
syncOptions:
- CreateNamespace=true