helm-charts/charts/library/common/templates/addons/vpn/gluetun/_addon.tpl
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs bcded223a6
More CI improvements
2022-07-29 21:12:02 +02:00

11 lines
425 B
Smarty

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