mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-04 17:07:04 +02:00
* fix(ports): Only render ports when there are ports * fix(probes): Only render probes when there are probes * feat(sidecars): Rename additionalContainers to sidecars * chore(serviceMonitor): Add labels unittest
11 lines
413 B
Smarty
11 lines
413 B
Smarty
{{/*
|
|
Template to render gluetun addon. It will add the container to the list of additionalContainers.
|
|
*/}}
|
|
*/}}
|
|
{{- define "bjw-s.common.addon.gluetun" -}}
|
|
{{/* Append the gluetun container to the sidecars */}}
|
|
{{- $container := fromYaml (include "bjw-s.common.addon.gluetun.container" .) -}}
|
|
{{- if $container -}}
|
|
{{- $_ := set .Values.sidecars "addon-gluetun" $container -}}
|
|
{{- end -}}
|
|
{{- end -}}
|