On Thu, Sep 7, 2017 at 10:57 AM, Pubudu Gunatilaka <[email protected]> wrote:

>
> On Thu, Sep 7, 2017 at 10:44 AM, Imesh Gunaratne <[email protected]> wrote:
>
>>
>> Are you suggesting to use a single configmap and mount that to a single
>> conf folder in the pod and then copy file by file to relevant folders?
>>
>> As config maps does not support nested folders we have to use multiple
> config maps. Rather than hard coding the folder names in the dockerfile
> [1], using a script we can copy all the files within wso2ei-integrator-conf
> to wso2ei product folder. As I mentioned before, users will be able to add
> any configuration file which resides within the product folder without
> adding that in the dockerfile.
>
> ​I discussed this offline with Pubudu and decided to create separate
folders for each config folder including sub-folders. The plan is to add
all config folders as configmaps and update the Dockerfile to include
commands to copy those if available. As a result users will not need to
re-build Docker images for adding any of the configurations.

Thanks
Imesh
​


> [1] - https://github.com/wso2/kubernetes-ei/blob/master/
> dockerfiles/integrator/Dockerfile#L25
>
> Thank you!
> --
> *Pubudu Gunatilaka*
> Committer and PMC Member - Apache Stratos
> Senior Software Engineer
> WSO2, Inc.: http://wso2.com
> mobile : +94774078049 <%2B94772207163>
>
>


-- 
*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