<p>How can I substring a string like /com/app1/main to get the value of main in a HELM template ? </p>

FreshMike
<p>You can use the <a href="http://masterminds.github.io/sprig/strings.html" rel="noreferrer">regexFind</a> function in helm</p>

<p><code>regexFind "[^/]+$" "/com/app1/main"</code></p>

<p>Will get the text following the last <code>/</code></p>
