If we can have the API Gateway pulling from S3 the folder api-gateway-config we get the flexibility to easily run it with different configurations without building a new container.
The alternative approach would be to have the sync'ing in a separate container but that's a little more complicated to handle in Mesos which is currently lacking Pods support. When Pods-like concepts get implemented then we can extract this code into its own container.
If we can have the API Gateway pulling from S3 the folder
api-gateway-config
we get the flexibility to easily run it with different configurations without building a new container.The alternative approach would be to have the sync'ing in a separate container but that's a little more complicated to handle in Mesos which is currently lacking Pods support. When Pods-like concepts get implemented then we can extract this code into its own container.