Hi everyone,
I’m working on a multi-tenant application where each tenant has its own YAML configuration file. I need a way to dynamically mount these configuration files from a ConfigMap to a Kubernetes deployment without having to redeploy the application each time a new tenant is added or an existing tenant’s configuration changes.
Is there a method or best practice in Kubernetes to achieve this dynamic mounting of ConfigMaps? Ideally, I’d like to update or add new YAML files to the ConfigMap and have them reflected in the application in real-time without restarting the pods.
Thanks in advance for your help!
Cluster information:
Kubernetes version: 1.29.x
Cloud being used: Azure Cloud
Installation method:
Host OS: Alpine
CNI and version:
CRI and version:
You can format your yaml by highlighting it and pressing Ctrl-Shift-C, it will make your output easier to read.