56 lines
1.3 KiB
YAML
56 lines
1.3 KiB
YAML
|
image:
|
||
|
repository: alekslitvinenk/openvpn
|
||
|
pullPolicy: IfNotPresent
|
||
|
tag: v1.14.0@sha256:8f3424e3de810169fcd5c770ad723112f5671fcbeb635215612379f7941fc0fe
|
||
|
securityContext:
|
||
|
container:
|
||
|
readOnlyRootFilesystem: false
|
||
|
runAsNonRoot: false
|
||
|
allowPrivilegeEscalation: true
|
||
|
runAsUser: 0
|
||
|
runAsGroup: 0
|
||
|
capabilities:
|
||
|
add:
|
||
|
- NET_ADMIN
|
||
|
workload:
|
||
|
main:
|
||
|
podSpec:
|
||
|
containers:
|
||
|
main:
|
||
|
env:
|
||
|
HOST_ADDR: "vpn.example.com"
|
||
|
HOST_CONF_PORT: "{{ .Values.service.main.ports.main.port }}"
|
||
|
# Being implemented currently only UDP supported.
|
||
|
HOST_TUN_PROTOCOL: "udp"
|
||
|
HOST_TUN_PORT: "{{ .Values.service.vpn.ports.vpn.port }}"
|
||
|
probes:
|
||
|
liveness:
|
||
|
enabled: false
|
||
|
readiness:
|
||
|
enabled: false
|
||
|
startup:
|
||
|
enabled: false
|
||
|
service:
|
||
|
main:
|
||
|
ports:
|
||
|
main:
|
||
|
port: 8080
|
||
|
vpn:
|
||
|
enabled: true
|
||
|
ports:
|
||
|
vpn:
|
||
|
enabled: true
|
||
|
protocol: udp
|
||
|
port: 1194
|
||
|
dns-tcp:
|
||
|
enabled: true
|
||
|
protocol: tcp
|
||
|
port: "{{ .Values.service.vpn.ports.vpn.port }}"
|
||
|
persistence:
|
||
|
config:
|
||
|
enabled: true
|
||
|
mountPath: "/opt/Dockovpn_data"
|
||
|
portal:
|
||
|
open:
|
||
|
enabled: true
|