mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-11 17:04:22 -05:00
28 lines
712 B
YAML
28 lines
712 B
YAML
|
apiVersion: v1
|
||
|
kind: ConfigMap
|
||
|
metadata:
|
||
|
name: {{ include "..fullname" . }}-tproxy
|
||
|
labels: {{- include "..labels" . | nindent 4 }}
|
||
|
data:
|
||
|
{{ (.Files.Glob "files/tproxy-setup.sh").AsConfig | indent 2 }}
|
||
|
---
|
||
|
{{- if .Values.wireguard.enabled }}
|
||
|
apiVersion: v1
|
||
|
kind: ConfigMap
|
||
|
metadata:
|
||
|
name: {{ include "..fullname" . }}-wg
|
||
|
labels: {{- include "..labels" . | nindent 4 }}
|
||
|
data:
|
||
|
{{ (.Files.Glob "files/wireguard-setup.sh").AsConfig | indent 2 }}
|
||
|
{{- end }}
|
||
|
---
|
||
|
{{ if .Values.ipsec.enabled }}
|
||
|
apiVersion: v1
|
||
|
kind: ConfigMap
|
||
|
metadata:
|
||
|
name: {{ include "..fullname" . }}-strongswan
|
||
|
labels: {{- include "..labels" . | nindent 4 }}
|
||
|
data:
|
||
|
{{ (.Files.Glob "files/strongswan/*").AsConfig | indent 2 }}
|
||
|
{{- end }}
|