13 lines
384 B
YAML
13 lines
384 B
YAML
{{/* Make sure all variables are set properly */}}
|
|
{{- include "tc.common.loader.init" . }}
|
|
|
|
{{/* Render config */}}
|
|
{{- include "wg.env.configmap" . }}
|
|
{{/* Render secret */}}
|
|
{{- include "wg.config-secret" . }}
|
|
|
|
{{- $_ := set .Values.persistence "configfile" (include "wireguard.configfile" . | fromYaml) -}}
|
|
|
|
{{/* Render the templates */}}
|
|
{{ include "tc.common.loader.apply" . }}
|