Scenario: I have a React app bundled into static assets that will be deployed/served via BUCKET/CDN. On the other hand, I have some API that will be deployed to Kubernetes. Both the frontend and backend will live in the same repo, if any changes are made to master, a build pipeline will be kicked off and will deploy the applications accordingly.
My question is, how would I synchronize the deployments when breaking changes are introduced? I understand that this can easily be done if I deploy the frontend app to the same server in the same Kubernetes cluster, but what if I wanted to serve my frontend via a CDN?