-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdelugevpn.yaml
82 lines (82 loc) · 1.61 KB
/
delugevpn.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: delugevpn
namespace: plex
spec:
strategy:
type: Recreate
selector:
matchLabels:
app: delugevpn
replicas: 1
template:
metadata:
labels:
app: delugevpn
annotations:
backup.velero.io/backup-volumes-excludes: seedbox
spec:
containers:
- name: delugevpn
image: binhex/arch-delugevpn:2.1.1-6-05
ports:
- containerPort: 8112
name: http-web-svc
securityContext:
privileged: true
envFrom:
- secretRef:
name: delugevpn-secret
volumeMounts:
- mountPath: "/data"
name: seedbox
- mountPath: "/config"
name: config
resources:
requests:
memory: "0"
limits:
memory: "6Gi"
volumes:
- name: seedbox
persistentVolumeClaim:
claimName: seedbox-pvc
- name: config
persistentVolumeClaim:
claimName: delugevpn-pvc
---
apiVersion: v1
kind: Service
metadata:
name: delugevpn-service
namespace: plex
spec:
selector:
app: delugevpn
type: ClusterIP
ports:
- name: delugevpn-web-port
protocol: TCP
port: 8112
targetPort: http-web-svc
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: delugevpn
namespace: plex
spec:
entryPoints:
- websecure
routes:
- kind: Rule
match: Host(`delugevpn.lan.jibby.org`)
services:
- kind: Service
name: delugevpn-service
port: 8112
middlewares:
- name: lanonly
namespace: kube-system