We provide online services for multiple customers. Each customers has given urls, eg.
customer1-preprod.service.company.com
customer1-int.service.company.com
customer1-prod.service.company.com
...
Currently we have good old bash scripts to manage the deployment, create new customers etc... And this is really hard to manage.
As a developer, I like the gitops approach, I find it nice to describe & commit how an application should be deployed. However in our case we should have dedicated directory, in the git repository, for each customer, which will make it hard to maintain:
/gitops /customer1 /preprod a-deploy-descriptor.xml /prod ..
Then in order to update a client, we would have to copy-paste updates from file to file. The same to create new customers. It doesn't look very easy.
Are there ways / tools to apply infrastructure as code, but for unlimited number of environments?
(I am new to devops, sorry if this is not clear)