catalog/stable/wireguard/3.0.7/templates/common.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" . }}