bookingcom / shipper

Kubernetes native multi-cluster canary or blue-green rollouts using Helm
Apache License 2.0
733 stars 39 forks source link

Create a `Ready` condition in TrafficTarget to inform Release Controller when traffic has been achieved #241

Closed juliogreff closed 4 years ago

juliogreff commented 5 years ago

This builds on top of work done in #238, so make sure that's merged before going through the changes here :)

We're moving towards relocating the smarts in the checks for a target's readiness away from the executor and into the controllers themselves, leaving the executor to check for a single Ready condition at the target's top level status. This PR achieves exactly that for TrafficTarget objects.

Closes #24.