I have a service calling a third-party service, say, example.com. Some of the calls are to www.example.com and others are to ftp.example.com.
As such, the Helm chart is configured with something like EXAMPLE_AUTHORITY: example.com which I'm hoping can be changed to EXAMPLE_AUTHORITY: mountebank.mydomain.com and the above calls would go to www.mountebank.mydomain.com and ftp.mountebank.mydomain.com, respectively.
I've configured mountebank to stub out example.com. How do I configure it so that calls to both www.mountebank.mydomain.com and ftp.mountebank.mydomain.com are handled appropriately (eg www.mountebank.mydomain.com is proxied to www.example.com and ftp.mountebank.mydomain.com is proxied to ftp.example.com)?
Do I need separate stubs for each of the subdomains?