helm-charts/charts/library/common/templates/addons/netshoot/_addon.tpl
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs 24f8eb5a38
feat(common): Release version 1.3.0 (#112)
* 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
2023-01-31 21:23:19 +01:00

13 lines
479 B
Smarty

{{/*
Template to render netshoot addon
It will include / inject the required templates based on the given values.
*/}}
{{- define "bjw-s.common.addon.netshoot" -}}
{{- if .Values.addons.netshoot.enabled -}}
{{/* Append the netshoot container to the sidecars */}}
{{- $container := include "bjw-s.common.addon.netshoot.container" . | fromYaml -}}
{{- if $container -}}
{{- $_ := set .Values.sidecars "addon-netshoot" $container -}}
{{- end -}}
{{- end -}}
{{- end -}}