xray-docs/helm/charts/helm-library/templates/components/_extra_templates.yaml
Nikolai Rodionov 65b90453dc
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Add the helm chart
2025-01-18 11:59:15 +01:00

17 lines
449 B
YAML

{{- define "lib.component.templates" }} {{- /* define[0] */}}
{{- include "lib.error.noCtx" . -}}
{{-
$labels := include "lib.metadata.mergeLabels"
(dict
"ctx" .ctx
"global" ((.ctx.Values).metadata).labels
)
}}
{{- with (.ctx.Values.extra).templates }} {{- /* with[1] */}}
{{- range . }} {{- /* range[2] */}}
---
{{- tpl . $.ctx | indent 0 }}
{{- end }} {{- /* /range[2] */}}
{{- end }} {{- /* /with[1] */}}
{{- end }} {{- /* /define[0] */}}