I am having two different config maps test-configmap and common-config. I tried to mount them at the same location, but one config map over
One way would be to mount them at different points but in the same emptyDir
volume, mounting that same volume into an init container and including a short script in the init container to merge the two files using whatever tools you install at the start of the script. Scripts can easily be included in the pod manifest using the technique in this answer.