<p>i've a question i create my config map but i dont know how to apply them to k8s ?
if i execute the command </p>

<pre><code>kubectl get configmap configmap-cas-properties -o yaml
</code></pre>

<p>i can see my configmap. However i cant find any information on how to add it to k8s . </p>

<p>I going to use it with my pod where i already set </p>

<pre><code> envFrom:
       - configMapRef:
           name: configmap-cas-app-properties
           name: configmap-cas-properties    restartPolicy: never
</code></pre>

morla
<p>The ConfigMaps can be set as Environment variables which can be read in the application. Another way is to mount the ConfigMaps as a Volume in the Container and the application read the data from there. <a href="https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/" rel="nofollow noreferrer">Here</a> is the documentation from K8S on the same.</p>
