helm-charts/charts/library/common/templates/addons/vpn/wireguard/_addon.tpl
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs 61626834fe
Copy over kah library
2022-07-26 19:55:03 +02:00

11 lines
435 B
Smarty

{{/*
Template to render Wireguard addon. It will add the container to the list of additionalContainers.
*/}}
*/}}
{{- define "common.addon.wireguard" -}}
{{/* Append the Wireguard container to the additionalContainers */}}
{{- $container := fromYaml (include "common.addon.wireguard.container" .) -}}
{{- if $container -}}
{{- $_ := set .Values.additionalContainers "addon-wireguard" $container -}}
{{- end -}}
{{- end -}}