Display DevWorkspace warnings when using Devfile 2.0 support #20220
Labels
area/dashboard
engine/devworkspace
Issues related to Che configured to use the devworkspace controller as workspace engine.
kind/enhancement
A feature request - must adhere to the feature request template.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
severity/P1
Has a major impact to usage or development of the system.
Is your enhancement related to a problem? Please describe.
With PR devfile/devworkspace-operator#509, the DevWorkspace operator is adding a warning condition to DevWorkspaces. For now, it is only used for invalid Devfile 2.0 variable replacements, but may be used for more things in the future.
Describe the solution you'd like
If a DevWorkspace has the
DevWorkspaceWarning
condition withstatus: true
, the Dashboard should grab themessage
from this condition and display it to the user.Describe alternatives you've considered
Notify the user that warnings are present and leave it to them to view the condition via the k8s API.
Additional context
Devfile 2.0 Variables DWO issue: devfile/devworkspace-operator#508
The text was updated successfully, but these errors were encountered: