Hi Pubudu,

On Thu, Sep 7, 2017 at 12:54 AM, Pubudu Gunatilaka <pubu...@wso2.com> wrote:

>
> On Wed, Sep 6, 2017 at 11:06 PM, Imesh Gunaratne <im...@wso2.com> wrote:
>
>>
>> ​Do we really need to parameterize these? Wouldn't it be better to add
>> all required folders?​ May be what we need is the bin, conf and deployment
>> folders (including sub folders)?
>>
>> Without mentioning all the configuration files in the dockerfile[1], we
> can copy all the content of wso2ei-integrator-conf to wso2ei product
> folder. In this way, users can dynamically add any configuration file
> without changing the base docker image.They only need to add a configmap
> and mount that to the wso2ei-integrator-conf folder.
>

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?

Thanks
​

> In APIM we are using an init script to start the server, configure
> localMemberHost and copy artifacts. This script can be used to copy files.
>
> [1] - https://github.com/wso2/kubernetes-ei/blob/master/dockerfile
> s/integrator/Dockerfile#L25
> <https://github.com/wso2/kubernetes-ei/blob/master/dockerfiles/integrator/Dockerfile#L25>
> [2] - https://github.com/wso2/kubernetes-apim/blob/2.1.0/base/
> apim/init_carbon.sh
>
> 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 <+94%2077%20374%202057>
W: https://medium.com/@imesh TW: @imesh
lean. enterprise. middleware
_______________________________________________
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to