<p>I have a config json file in my application. This is single json file which has all configs required for my nodejs application. I have many connections to many db'. I even have bifurcation like stage and production. I don't want to create secret for each variable. I want to dump my complete JSON as secret. So that i can directly pick it up from there and use in my application. 
Anyway i can achieve it? I think its a generic problem. </p>

<p>You can use the following command:</p>

<pre><code>kubectl -n &lt;namespace&gt; create cm secret --from-file=APPLICATION_CONFIG=./&lt;your-config&gt;
</code></pre>

<p>Mount that into certain path and you can read your config from those path.</p>
