Answers: <p>It is not possible for a ConfigMap to reuse or import other ConfigMaps.</p>
  
  <p>You can, however, have many deployments reuse the same ConfigMap. In this case, you should extract out the common configuration to a single ConfigMap and reuse it across deployments while still allowing each individual deployment to have their own specific config.</p>
  
Answers: CC BY-SA 4.0
Answers: 2020-03-19T15:09:27.637Z
Answers: 2020-03-19T15:09:27.637Z
Answers: davidmontoyago
Body: <p>Kubernetes already provides a way to manage configuration with ConfigMap.</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>
  
Tags: <kubernetes><configuration-management>
Title: Common config in Kubernetes ConfigMap
UserDisplayName: edwin
ThreadText: # Common config in Kubernetes ConfigMap
  
  (Asked by: username_0 on 2020-03-16)
  
  Kubernetes already provides a way to manage configuration with ConfigMap.
  
  However, I have a question/problem here.
  
  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?
  
  **Tags:** kubernetes, configuration-management
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-03-19. Score: 1
  
  It is not possible for a ConfigMap to reuse or import other ConfigMaps.
  
  You can, however, have many deployments reuse the same ConfigMap. In this case, you should extract out the common configuration to a single ConfigMap and reuse it across deployments while still allowing each individual deployment to have their own specific config.
  
  
  ---
  
  