<p>This one from medium should be fine for your purposes: <a href="https://medium.com/@ychetankumarsarma/how-to-manage-angular-application-configurations-for-different-environments-with-docker-and-8ff8c55a1c7d" rel="nofollow noreferrer">https://medium.com/@ychetankumarsarma/how-to-manage-angular-application-configurations-for-different-environments-with-docker-and-8ff8c55a1c7d</a>.</p>

<p>It is good because:</p>

<ul>
<li>It shows a test / development scenario.</li>
<li>It notes that it is a good / accepted technique to use environment variables to drive config.</li>
<li>It shows you how to create a config map with a literal value (as an example).</li>
<li>It shows you how to read that environment variable into your app environment properly.</li>
</ul>

<p>There is also a working sample app noted here -> <a href="https://github.com/chetanku/frontend-env" rel="nofollow noreferrer">https://github.com/chetanku/frontend-env</a> which you should be able to "just start up" and work backwards from.</p>

CC BY-SA 4.0
2020-04-19T19:30:26.953Z
2020-04-19T19:30:26.953Z
John Humphreys
<p>How can I integrate a config map into my angular application in kubernetes?</p>

<p>Any useful blogs or videos implementing this would be helpful.  I found a few, but they didn't work for me.</p>

<kubernetes><configuration-management><kubernetes-volume>
Angular config maps in kubernetes
Madan
# Angular config maps in kubernetes

(Asked by: username_0 on 2020-04-18)

How can I integrate a config map into my angular application in kubernetes?

Any useful blogs or videos implementing this would be helpful. I found a few, but they didn't work for me.

**Tags:** kubernetes, configuration-management, kubernetes-volume


---

## 1 answers

### Answer by username_1 on 2020-04-19. Score: 4

This one from medium should be fine for your purposes: <https://medium.com/@ychetankumarsarma/how-to-manage-angular-application-configurations-for-different-environments-with-docker-and-8ff8c55a1c7d>.

It is good because:

* It shows a test / development scenario.
* It notes that it is a good / accepted technique to use environment variables to drive config.
* It shows you how to create a config map with a literal value (as an example).
* It shows you how to read that environment variable into your app environment properly.

There is also a working sample app noted here -> <https://github.com/chetanku/frontend-env> which you should be able to "just start up" and work backwards from.


---

