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
15 lines
441 B
Smarty
15 lines
441 B
Smarty
{{- define "wireguard.conf" }}
|
|
[Interface]
|
|
ListenPort = {{ .Values.wireguard.port }}
|
|
PrivateKey = {{ .Values.wireguard.private_key }}
|
|
[Peer]
|
|
PublicKey = {{ .Values.wireguard.peer_key }}
|
|
AllowedIPs = {{ join "," .Values.peerCIDRs }}
|
|
{{- if .Values.wireguard.endpoint }}
|
|
Endpoint = {{- .Values.wireguard.endpoint }}
|
|
{{- end }}
|
|
{{- if .Values.wireguard.keepAlive }}
|
|
PersistentKeepalive = {{- .Values.wireguard.keepAlive }}
|
|
{{- end }}
|
|
{{ end }}
|