mirror of
https://github.com/amkartashov/gf-k8s.git
synced 2026-01-11 01:49:44 +00:00
658 B
658 B
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=""