Files
devops-infra-helm-charts-gcp/helm-templates/elastalert2/templates/_tplvalues.tpl
T
2026-08-26 03:39:42 +05:30

14 lines
391 B
Smarty

{{/* vim: set filetype=mustache: */}}
{{/*
Renders a value that contains template.
Usage:
{{ include "common.tplvalues.render" ( dict "value" .Values.path.to.the.Value "context" $) }}
*/}}
{{- define "common.tplvalues.render" -}}
{{- if typeIs "string" .value }}
{{- tpl .value .context }}
{{- else }}
{{- tpl (.value | toYaml) .context }}
{{- end }}
{{- end -}}