-
Notifications
You must be signed in to change notification settings - Fork 62
Description
The resulting url is prod.ecamp3.ch, not app.ecamp3.ch... 😢
More details from the small postmortem at #8540:
In this deployment, the domain was wrongly calculated as https://prod.ecamp3.ch/. This led to the Kubernetes services not being reachable. When fixing the services to listen to the correct domain, various environment settings such as FRONTEND_URL, API_URL, CORS settings, allowed hosts in the API and so on were still incorrect. When correcting these manually as well, the Cloudflare cache kept on serving the erroneous version of environment.js. After correcting this as well, the services were back up and running.
We should make sure to fix the calculation of the prod domain before deploying the next time. Unfortunately, staging didn't have this problem (because it uses the formulaic subdomain, unlike production).