mirror of
https://github.com/nikdoof/helm-charts.git
synced 2025-12-25 15:49:28 +00:00
[common] Add common chart from KaH
This commit is contained in:
11
charts/common/templates/addons/vpn/gluetun/_addon.tpl
Normal file
11
charts/common/templates/addons/vpn/gluetun/_addon.tpl
Normal file
@@ -0,0 +1,11 @@
|
||||
{{/*
|
||||
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 -}}
|
||||
Reference in New Issue
Block a user