14 lines
479 B
Smarty
14 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 -}}
|