fix: revert to protonvpn provider, use server name from secret

This commit is contained in:
Will Anderson
2026-04-14 00:07:11 +00:00
parent 1cc783e704
commit 4a0ebededf
4 changed files with 5 additions and 30 deletions
@@ -63,7 +63,7 @@ spec:
- NET_ADMIN
env:
- name: VPN_SERVICE_PROVIDER
value: custom
value: protonvpn
- name: VPN_TYPE
value: wireguard
- name: WIREGUARD_PRIVATE_KEY
@@ -71,22 +71,13 @@ spec:
secretKeyRef:
name: fornax-worker-WORKER_ID-secrets
key: PROTONVPN_PRIVATE_KEY
- name: WIREGUARD_PUBLIC_KEY
- name: SERVER_NAMES
valueFrom:
secretKeyRef:
name: fornax-worker-WORKER_ID-secrets
key: PROTONVPN_PUBLIC_KEY
- name: WIREGUARD_ENDPOINT_IP
valueFrom:
secretKeyRef:
name: fornax-worker-WORKER_ID-secrets
key: PROTONVPN_ENDPOINT_IP
- name: WIREGUARD_ENDPOINT_PORT
value: "51820"
key: PROTONVPN_SERVER
- name: VPN_PORT_FORWARDING
value: "on"
- name: VPN_PORT_FORWARDING_PROVIDER
value: protonvpn
- name: FIREWALL_OUTBOUND_SUBNETS
value: 10.42.0.0/16,10.43.0.0/16
ports:
@@ -16,11 +16,7 @@ spec:
remoteRef:
key: secret/data/fornax/worker-WORKER_ID
property: private_key
- secretKey: PROTONVPN_ENDPOINT_IP
- secretKey: PROTONVPN_SERVER
remoteRef:
key: secret/data/fornax/worker-WORKER_ID
property: endpoint_ip
- secretKey: PROTONVPN_PUBLIC_KEY
remoteRef:
key: secret/data/fornax/worker-WORKER_ID
property: public_key
property: server
@@ -26,9 +26,6 @@ patches:
- op: replace
path: /spec/template/spec/containers/0/env/3/valueFrom/secretKeyRef/name
value: fornax-worker-tx253-secrets
- op: replace
path: /spec/template/spec/containers/0/env/4/valueFrom/secretKeyRef/name
value: fornax-worker-tx253-secrets
- op: replace
path: /spec/template/spec/volumes/1/persistentVolumeClaim/claimName
value: fornax-worker-tx253-config
@@ -68,6 +65,3 @@ patches:
- op: replace
path: /spec/data/1/remoteRef/key
value: secret/data/fornax/worker-tx253
- op: replace
path: /spec/data/2/remoteRef/key
value: secret/data/fornax/worker-tx253
@@ -26,9 +26,6 @@ patches:
- op: replace
path: /spec/template/spec/containers/0/env/3/valueFrom/secretKeyRef/name
value: fornax-worker-tx34-secrets
- op: replace
path: /spec/template/spec/containers/0/env/4/valueFrom/secretKeyRef/name
value: fornax-worker-tx34-secrets
- op: replace
path: /spec/template/spec/volumes/1/persistentVolumeClaim/claimName
value: fornax-worker-tx34-config
@@ -68,6 +65,3 @@ patches:
- op: replace
path: /spec/data/1/remoteRef/key
value: secret/data/fornax/worker-tx34
- op: replace
path: /spec/data/2/remoteRef/key
value: secret/data/fornax/worker-tx34