title: How to share resources/patches with multiple overlays using kustomize?
body: <p>I have a kube-prometheus deployed to multiple environments using kustomize.</p>
  <p>kube-prometheus is a base and each environment is an overlay.
  Let's say I want to deploy dashboards to overlays, which means I need to deploy the same ConfigMaps and the same patch to each overlay.</p>
  <p>Ideally, I want to avoid changing the base as it is declared outside of my repo and to keep things DRY and not to copy the same configs all over the place.</p>
  <p>Is there a way to achieve this?</p>
  <p>Folder structure:</p>
  <pre><code>/base/
       /kube-prometheus/
  /overlays/
       /qa/       &lt;--- 
       /dev/      &lt;--- I want to share resources+patches between those
       /staging/  &lt;---
  
  </code></pre>