diff --git a/servers/legion/k8s/fornax/worker/base/deployment.yaml b/servers/legion/k8s/fornax/worker/base/deployment.yaml index 99954b6..22f7c6f 100644 --- a/servers/legion/k8s/fornax/worker/base/deployment.yaml +++ b/servers/legion/k8s/fornax/worker/base/deployment.yaml @@ -63,7 +63,7 @@ spec: - NET_ADMIN env: - name: VPN_SERVICE_PROVIDER - value: protonvpn + value: custom - name: VPN_TYPE value: wireguard - name: WIREGUARD_PRIVATE_KEY @@ -71,13 +71,16 @@ spec: secretKeyRef: name: fornax-worker-WORKER_ID-secrets key: PROTONVPN_PRIVATE_KEY - - name: SERVER_NAMES - valueFrom: - secretKeyRef: - name: fornax-worker-WORKER_ID-secrets - key: PROTONVPN_SERVER - - name: VPN_PORT_FORWARDING - value: "on" + - name: WIREGUARD_PUBLIC_KEY + value: qT0lxDVbWEIyrL2A40FfCXRlUALvnryRz2aQdD6gUDs= + - name: WIREGUARD_ENDPOINT_IP + value: 89.187.180.40 + - name: WIREGUARD_ENDPOINT_PORT + value: "51820" + - name: WIREGUARD_ADDRESSES + value: 10.2.0.2/32 + - name: WIREGUARD_PERSISTENT_KEEPALIVE_INTERVAL + value: 25s - name: FIREWALL_OUTBOUND_SUBNETS value: 10.42.0.0/16,10.43.0.0/16 ports: diff --git a/servers/legion/k8s/fornax/worker/overlays/worker-tx253/kustomization.yaml b/servers/legion/k8s/fornax/worker/overlays/worker-tx253/kustomization.yaml index f9a2d90..ebf34c8 100644 --- a/servers/legion/k8s/fornax/worker/overlays/worker-tx253/kustomization.yaml +++ b/servers/legion/k8s/fornax/worker/overlays/worker-tx253/kustomization.yaml @@ -23,9 +23,6 @@ patches: - op: replace path: /spec/template/spec/containers/0/env/2/valueFrom/secretKeyRef/name value: fornax-worker-tx253-secrets - - 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/1/env/1/value value: tx253 diff --git a/servers/legion/k8s/fornax/worker/overlays/worker-tx34/kustomization.yaml b/servers/legion/k8s/fornax/worker/overlays/worker-tx34/kustomization.yaml index 444f5b7..e5d1c75 100644 --- a/servers/legion/k8s/fornax/worker/overlays/worker-tx34/kustomization.yaml +++ b/servers/legion/k8s/fornax/worker/overlays/worker-tx34/kustomization.yaml @@ -23,9 +23,6 @@ patches: - op: replace path: /spec/template/spec/containers/0/env/2/valueFrom/secretKeyRef/name value: fornax-worker-tx34-secrets - - 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/1/env/1/value value: tx34