Decouple application.yaml

Has anyone successfully decoupled the application.yaml from the ShinyProxy deployment?
I am trying to create a ConfigMap with the contents of application.yaml and mount it to the ShinyProxy deployment, but I’m facing issues with the setup. Any guidance or examples on how to properly configure this would be greatly appreciated!