forked from kapicorp/kapitan-reference
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpritunl-bundle.yml
72 lines (72 loc) · 1.73 KB
/
pritunl-bundle.yml
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
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
manifests.kapicorp.com/generated: 'true'
labels:
app.kapicorp.dev/component: pritunl
name: pritunl
name: pritunl
namespace: pritunl
spec:
replicas: 1
selector:
matchLabels:
name: pritunl
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
labels:
name: pritunl
spec:
containers:
- image: alledm/pritunl
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 3
httpGet:
path: /
port: webui
scheme: HTTPS
initialDelaySeconds: 0
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 3
name: pritunl
ports:
- containerPort: 80
name: http
protocol: TCP
- containerPort: 1194
name: vpn
protocol: TCP
- containerPort: 443
name: webui
protocol: TCP
readinessProbe:
failureThreshold: 3
httpGet:
path: /
port: webui
scheme: HTTPS
initialDelaySeconds: 0
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 3
securityContext:
privileged: true
volumeMounts:
- mountPath: /etc/pritunl.conf
name: config
subPath: pritunl.conf
restartPolicy: Always
terminationGracePeriodSeconds: 30
volumes:
- configMap:
defaultMode: 420
name: pritunl
name: config