<p>I am Dockerizing the Asp.net core application and how do I read configmap &amp; secret in asp.net core application?</p>

<p>When designing an app for Kubernetes, you should usually follow the <a href="https://12factor.net/" rel="nofollow noreferrer">12 factor app</a> guidelines.</p>
<p>It is common that the app read config-values as Environment variables, but sometimes also as files. The Kubernetes documentation has good examples on how to use <a href="https://kubernetes.io/docs/concepts/configuration/configmap/#configmaps-and-pods" rel="nofollow noreferrer">ConfigMaps for Pods</a> to read the values as Env variables or files.</p>
