forked from kapicorp/kapitan-reference
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pritunl.yml
54 lines (52 loc) · 1.39 KB
/
pritunl.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
parameters:
pritunl:
database:
name: pritunl
connection_string: mongodb://${pritunl:auth:username}:${pritunl:auth:password}@pritunl-mongo:27017/${pritunl:database:name}
auth:
username: pritunl
password: ?{plain:targets/${target_name}/pritunl_password||randomstr}
components:
pritunl:
image: alledm/pritunl
replicas: 1
ports:
http:
service_port: 80
vpn:
service_port: 1194
webui:
service_port: 443
healthcheck:
readiness:
type: http
scheme: HTTPS
port: webui
path: /
timeout_seconds: 3
liveness:
type: http
scheme: HTTPS
port: webui
path: /
timeout_seconds: 3
service:
type: LoadBalancer
security_context:
privileged: true
config_maps:
config:
mount: /etc/pritunl.conf
subPath: pritunl.conf
data:
pritunl.conf:
value: |-
{
"debug": false,
"bind_addr": "0.0.0.0",
"port": 443,
"log_path": "/var/log/pritunl.log",
"temp_path": "/tmp/pritunl_%r",
"local_address_interface": "auto",
"mongodb_uri": "${pritunl:database:connection_string}"
}