Skip to content

os-images-info: add Job to healthChecks

Thomas Morin requested to merge os-images-info-healthcheck-job into main

While playing with my local setup, I had a case where:

  • the Job from os-images-info unit was failing (my config was broken)
  • the os-images-info unit was ready
  • the rest of the deployment proceeded with the old os-images-info ConfigMap, which isn't good at all

This is because the healthChecks of this unit does not cover the Job status.

This MR fixes this.

(before !2401 (merged), this wasn't needed because each new run was producing a different configmap which the healthCheck was waiting for)

Edited by Thomas Morin

Merge request reports