Hi all, this mail is regarding the continuation of a portion of work I've been engaged with since GSoC 2021.
During the initial discussions of the project, one of the objectives that needed to be satisfied was enabling configuration swapping of a Synapse Kubernetes (k8s) deployment. Details about my initial implementation can be found in my related blog post <https://nuwnjay.medium.com/how-to-containerize-an-esb-26d8a5404ee9>, however, to summarize it; the final version involved using k8s persistent volumes to store the configurations. The demo was performed by manually accessing and editing the files via $ minikube ssh. While it gets the job done, it is far from ideal and is not the proper way to achieve true environment-independent cloud-nativeness especially when deployed beyond minikube. To address this, I decided to take inspiration from the WSO2 Siddhi k8s microservice <https://siddhi.io/en/v5.0/docs/siddhi-as-a-kubernetes-microservice/> and create a custom k8s operator that would ingest the xml config via a configmap <https://siddhi.io/en/v5.0/docs/siddhi-as-a-kubernetes-microservice/#deploy-and-run-siddhi-app-using-configmaps> . For the moment the entire purpose of the operator would be configuration ingestion. To verify the viability of the proposal I also spoke with Buddhi Kothalawala of WSO2 (CC'ed) who's familiar with the Siddhi k8s microservice. I checked up on the containerized version of WSO2 Micro-Integrator as well since it is closer in functionality to Synapse. But as per a blog post <https://wso2.com/library/articles/deploying-wso2-micro-integrator-on-kubernetes/> published in 2020 it only allows for immutable docker images to be published with the configuration baked in. While I'm still in the preliminary phases of familiarizing myself with Go lang and the operator framework I'd greatly appreciate any feedback on this. Kind regards -- *Nuwan Jayawardene* Assistant Lecturer, Informatics Institute of Technology (IIT). Research Assistant, University of Moratuwa https://www.linkedin.com/m/in/nuwanjaya