The current status indicator for a pending CRE is as follows:
image stream phase (CRE phase as fallback if image stream has not been created) is used as the main indicator on status. Error messages are pulled from the latest CRE condition.
Intended Functionality
The status indicator should only use the CRE conditions. These conditions are presented as a list of states a cre can be in. Current status can determined by the last presented condition in the list. However when a user hovers over the status symbol, the more detailed description of the status should be shown (error message).
In some case taking the latest CRE condition isn't always the best option, so a more algorithmic approach will be needed to present the user with the most accurate staus and detail messages.
For example, when the pipelines fail, the last condition is broadly the pipeline failed..., while the more detailed error message is found in the condition just before it
Optionally, a history of the CRE staus could be shown as a simple table/list when viewing the CRE in edit mode or another view.
Acceptance Criteria
[ ] convert to using only conditions for status
[ ] create an algorithm for determining the correct status and status message based on the list of timestamped conditions
[ ] OPTIONAL create a historical view of conditions on a detail view of the CRE
The current status indicator for a pending CRE is as follows: image stream phase (CRE phase as fallback if image stream has not been created) is used as the main indicator on status. Error messages are pulled from the latest CRE condition.
Intended Functionality
The status indicator should only use the CRE conditions. These conditions are presented as a list of states a cre can be in. Current status can determined by the last presented condition in the list. However when a user hovers over the status symbol, the more detailed description of the status should be shown (error message).
In some case taking the latest CRE condition isn't always the best option, so a more algorithmic approach will be needed to present the user with the most accurate staus and detail messages. For example, when the pipelines fail, the last condition is broadly the pipeline failed..., while the more detailed error message is found in the condition just before it
Optionally, a history of the CRE staus could be shown as a simple table/list when viewing the CRE in edit mode or another view.
Acceptance Criteria
related https://github.com/thoth-station/meteor-operator/issues/130