mirror of
https://github.com/nikdoof/helm-charts.git
synced 2025-12-25 23:59:24 +00:00
[common] Add common chart from KaH
This commit is contained in:
13
charts/common/templates/addons/netshoot/_netshoot.tpl
Normal file
13
charts/common/templates/addons/netshoot/_netshoot.tpl
Normal file
@@ -0,0 +1,13 @@
|
||||
{{/*
|
||||
Template to render netshoot addon
|
||||
It will include / inject the required templates based on the given values.
|
||||
*/}}
|
||||
{{- define "common.addon.netshoot" -}}
|
||||
{{- if .Values.addons.netshoot.enabled -}}
|
||||
{{/* Append the netshoot container to the additionalContainers */}}
|
||||
{{- $container := include "common.addon.netshoot.container" . | fromYaml -}}
|
||||
{{- if $container -}}
|
||||
{{- $_ := set .Values.additionalContainers "addon-netshoot" $container -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
Reference in New Issue
Block a user