edgelesssys / contrast

Deploy and manage confidential containers on Kubernetes
https://docs.edgeless.systems/contrast
GNU Affero General Public License v3.0
183 stars 7 forks source link

coordinator: enable recovery #613

Closed burgerdev closed 3 months ago

burgerdev commented 3 months ago

This PR consists of two commits:

  1. Consolidate getManifestAndLatestCA with GetManifests. This is a follow-up to #583, essentially moving the function body of the former into the latter while simplifying the latter with the internals now available to it.
  2. Add a test for the recovery scenario and add detection for the "recovery needed" condition.

It should be the last change to implement RFC004 on the Coordinator side.