Hi All,

It seems that Kubernetes ConfigMaps can be used for managing product
configurations without having to build Docker images for each pattern with
specific configurations. This was recently tested with Enterprise
Integrator and its K8S resources used can be found below:

https://github.com/wso2/kubernetes-ei

*Approach:*

   - Create a ConfigMap for each configuration folder
   - Use a volume mount to map the ConfigMap to a folder in the Pod
   - Copy configuration files mapped to above folders to the product config
   folders at the container startup. The reason for doing this is that
   currently, K8S ConfigMaps does not support mapping nested folder structures.

Please share your thoughts on this.

Thanks
Imesh

-- 
*Imesh Gunaratne*
Associate Director/Architect
WSO2 Inc: http://wso2.com
T: +94 11 214 5345 M: +94 77 374 2057
W: https://medium.com/@imesh TW: @imesh
lean. enterprise. middleware
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to