Using config map in React JS project deployed on kubernetes

12/18/2019

I building a react application and deploying it on Kubernetes. On page load i have to show certain elements and i want them to be configurable. I am driving them from json file. I want to keep that json on config map and whenever i want to make change. Updating config map should be sufficient.

My react application is not server side application, hence not sure for approach. Is it possible to keep some file in project and then later replace it with config using docker or something.

-- Panther
configmap
kubernetes
reactjs

0 Answers