The best solution is use Linux variables and your configmaps need to permit use it. Your startup initContainer or entrypoint.sh should calculate that variables, so when your app is executed always has the latest values.