<p>Is there a way to reference a secret value from a configmap?</p>
<p>Example:</p>
<p><strong>CONFIGMAP: app.properties</strong></p>
<pre><code>context-path=/test-app1
dbhost=www.db123.com
username=user1
password=[getValueFromSecret]
</code></pre>
<p>the value of password here is saved in k8s secret</p>

letthefireflieslive
<p>Not in core, but you can use the configmapsecrets operator for this. <a href="https://github.com/machinezone/configmapsecrets" rel="nofollow noreferrer">https://github.com/machinezone/configmapsecrets</a></p>
<p>Helm also has accessors to do it client side.</p>
