mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-28 08:59:34 -05:00
0564e4ebb4
* vpn: add fake-on-prem infra * dev-docs: move vpn helm
22 lines
497 B
YAML
22 lines
497 B
YAML
{{- if .Values.wireguard.enabled }}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ include "..fullname" . }}-wg
|
|
labels:
|
|
{{- include "..labels" . | nindent 4 }}
|
|
data:
|
|
wg.conf: {{ include "wireguard.conf" . | b64enc }}
|
|
{{- end }}
|
|
---
|
|
{{ if .Values.ipsec.enabled }}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ include "..fullname" . }}-strongswan
|
|
labels:
|
|
{{- include "..labels" . | nindent 4 }}
|
|
data:
|
|
swanctl.conf: {{ include "strongswan.swanctl-conf" . | b64enc }}
|
|
{{- end }}
|