This should be a good candidate for good code design. We already have the DeploymentReadyCheck struct. Consider to improve to revisit it's interface and dependencies so that we get a nicely testable "state machine service". If re-designing this, also consider that later on we want to add state checks for StatefulSet as well.
Description
With the ADR Mapping module deployment state to ManifestCR state we defined how we want to map the ManifestCR state from the deployment of the module. This ADR now needs to be implemented in code.
This should be a good candidate for good code design. We already have the
DeploymentReadyCheck
struct. Consider to improve to revisit it's interface and dependencies so that we get a nicely testable "state machine service". If re-designing this, also consider that later on we want to add state checks for StatefulSet as well.Reasons
With https://github.com/kyma-project/lifecycle-manager/issues/1554 we introduced new ManifestCR state determination that proofed to be faulty.
Acceptance Criteria
Feature Testing
No response
Testing approach
No response
Attachments
No response