mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-29 01:16:12 -05:00
0564e4ebb4
* vpn: add fake-on-prem infra * dev-docs: move vpn helm
27 lines
520 B
Smarty
27 lines
520 B
Smarty
{{- define "strongswan.swanctl-conf" }}
|
|
connections {
|
|
net-net {
|
|
remote_addrs = {{ .Values.ipsec.peer }}
|
|
local {
|
|
auth = psk
|
|
}
|
|
remote {
|
|
auth = psk
|
|
}
|
|
children {
|
|
net-net {
|
|
local_ts = {{ .Values.podCIDR }},{{ .Values.serviceCIDR }}
|
|
remote_ts = {{ join "," .Values.peerCIDRs }}
|
|
start_action = trap
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
secrets {
|
|
ike {
|
|
secret = {{ quote .Values.ipsec.psk }}
|
|
}
|
|
}
|
|
{{- end }}
|