We are using a GitOps model for deploying our software. Everything in dev
branch goes to the dev environment and everything in main
gets deployed to production. All good and fine except that we use Google Cloud Endpoints that rely in the host
parameter of the openapi.yaml
. There is only room for a single value so we have to remember to change it for each deployment not allowing us to do a fully automated deploy.
How do you manage the same openapi.yaml
definition when using Google Cloud Endpoints?