Skip to content

[Controller] Wait for Migrations Job to complete before reconciling Deployments

Mitchell Nielsen requested to merge 244-wait-for-migrations into master

Summary

Waits for Migrations Job to complete before moving on to Deployments.

This helps avoid the scenario where Deployments were in CrashLoopBackOff state because Migrations were not yet finished.

Closes #244 (closed)

Testing

Deploy a standard CR and observe that the Migrations Job finishes completely before the Deployments are installed. Also confirm that the Deployments do not go into CrashLoopBackOff anymore because Migrations are complete.

Edited by Mitchell Nielsen

Merge request reports