Add bitnami style podAnnotations
This commit is contained in:
parent
98f6e139ee
commit
95717ec228
6 changed files with 28 additions and 0 deletions
12
templates/_tplvalues.tpl
Normal file
12
templates/_tplvalues.tpl
Normal file
|
@ -0,0 +1,12 @@
|
|||
{{/*
|
||||
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 -}}
|
Reference in a new issue