disable gluetun deployment
This commit is contained in:
12
disabled/apps/gluetun/gluetun-configmap.yml
Normal file
12
disabled/apps/gluetun/gluetun-configmap.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: gluetun-config
|
||||
namespace: default
|
||||
data:
|
||||
VPN_SERVICE_PROVIDER: "surfshark"
|
||||
SERVER_COUNTRIES: "Netherlands"
|
||||
HTTPPROXY: "ON"
|
||||
FIREWALL_OUTBOUND_SUBNETS: "192.168.1.0/24,10.42.0.0/16,10.43.0.0/16"
|
||||
DNS_ADDRESS: "8.8.8.8"
|
||||
28
disabled/apps/gluetun/gluetun-svc.yml
Normal file
28
disabled/apps/gluetun/gluetun-svc.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: gluetun-service
|
||||
namespace: default
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
selector:
|
||||
app: gluetun
|
||||
ports:
|
||||
- port: 8388
|
||||
targetPort: 8888
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: gluetun-p2p-service
|
||||
namespace: default
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
selector:
|
||||
app: gluetun
|
||||
ports:
|
||||
- port: 30881
|
||||
targetPort: 6881
|
||||
protocol: TCP
|
||||
50
disabled/apps/gluetun/gluetun.yml
Normal file
50
disabled/apps/gluetun/gluetun.yml
Normal file
@@ -0,0 +1,50 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: gluetun
|
||||
namespace: default
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: gluetun
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: gluetun
|
||||
spec:
|
||||
containers:
|
||||
- name: vpn
|
||||
image: qmcgaw/gluetun:v3.40.0
|
||||
securityContext:
|
||||
capabilities:
|
||||
add:
|
||||
- NET_ADMIN
|
||||
ports:
|
||||
- containerPort: 8888
|
||||
- containerPort: 8388
|
||||
- containerPort: 8080
|
||||
- containerPort: 6881
|
||||
env:
|
||||
- name: OPENVPN_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: openvpn-secrets
|
||||
key: OPENVPN_PASSWORD
|
||||
- name: OPENVPN_USER
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: openvpn-secrets
|
||||
key: OPENVPN_USER
|
||||
- name: HTTPPROXY_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: http-secrets
|
||||
key: HTTPPROXY_PASSWORD
|
||||
- name: HTTPPROXY_USER
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: http-secrets
|
||||
key: HTTPPROXY_USER
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: gluetun-config
|
||||
Reference in New Issue
Block a user