Another part of the yaml file deals with the start-up configuration of each agent and is stored in the configmaps section.
In there you must add a line (see below highlighted in red) for each of your agents. The line contains a key-value pair separated by a colon. The key part (marked in yellow) must match the subPath value of the volumeMounts mentioned in the section above. And the value part (marked in green) must point to the relative file location of the appsettings.json file that you created for your agent in Start-up configuration file.