gf-k8s/ZZ_arhived/apps/system/vpn
2023-09-03 09:12:34 +07:00
..
Fastestvpn_ovpn refactoring 2023-09-03 09:12:34 +07:00
scripts refactoring 2023-09-03 09:12:34 +07:00
daemonset.yaml refactoring 2023-09-03 09:12:34 +07:00
kustomization.yaml refactoring 2023-09-03 09:12:34 +07:00
readme.md refactoring 2023-09-03 09:12:34 +07:00

Vpn client daemonset

Based on

https://garunski.medium.com/openvpn-and-minikube-25511099f8de

https://github.com/garunski/open-vpn-connect-chart/

VPN configuration files are from https://support.fastestvpn.com/download/openvpn-tcp-udp-config-files/

After installation, it's needed to create vpn-creds secret with:

$ cat <<-EOF > creds
username
password
EOF

$ kubectl --context=gullfaxi --namespace vpn \
    create secret generic vpn-creds \
    --from-file=creds=./creds

To disable:

kubectl --context=gullfaxi label nodes gullfaxi vpn-

To enable:

kubectl --context=gullfaxi label nodes gullfaxi vpn=""