Helm Template Function Printf: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * Helm Templates =Overview= {{ printf "%s-blue" .Values.nuance }}")
 
No edit summary
Line 5: Line 5:
=Overview=
=Overview=


  {{ printf "%s-blue" .Values.nuance }}
<syntaxhighlight lang='yaml'>
{{ printf "%s-blue" .Values.nuance }}
</syntaxhighlight>
 
This also works:
 
<syntaxhighlight lang='yaml'>
{{ .Values.nuance | printf "%s-blue" }}
</syntaxhighlight>

Revision as of 00:13, 10 October 2019

Internal

Overview

{{ printf "%s-blue" .Values.nuance }}

This also works:

{{ .Values.nuance | printf "%s-blue" }}