<p>Kubernetes already provides a way to manage configuration with <code>ConfigMap</code>.</p>

<p>However, I have a question/problem here.</p>

<p>If I have multiple applications with different needs deployed in Kubernetes, all these deployments might share and access some common config variables. Is it possible for ConfigMap to use a common config variable?</p>

edwin
<p>There are two ways to do that. </p>

<ul>
<li><strong>Kustomize</strong> - Customization of kubernetes YAML configurations (developed as  kubernetes sigs, and had been integrated into <code>kubectl</code> command line). But currently it isn't mature enough if compare with <code>helm</code> chart</li>
</ul>

<p><a href="https://github.com/kubernetes-sigs/kustomize" rel="nofollow noreferrer">https://github.com/kubernetes-sigs/kustomize</a></p>

<ul>
<li><strong>Helm chart</strong> - The Kubernetes Package Manager. Its <code>vaules.yaml</code> can define the vaule for same configuration files (in your case, they are configmap) with variables. </li>
</ul>

<p><a href="https://helm.sh/" rel="nofollow noreferrer">https://helm.sh/</a></p>
