Skip to content

Set workspace status to warning if external DWOC could not be resolved #921

Closed
@AObuchow

Description

@AObuchow

Description

The ability to use an external DWOC was introduced in #918, though it is possible for the external DWOC to not be resolved (eg. the name/namespace of the DWOC are not properly set in the controller.devfile.io/devworkspace-config workspace attribute, or the DWOC could not be found on the cluster)

In these cases, it would be better to set the workspace's status to a warning state to make it more apparent to users that something went wrong when resolving the external DWOC (in addition to not logging an operator error for a workspace error, as we are currently doing). The status message could include the error that occurred when trying to resolve the external DWOC.

Additional context

#918 (comment)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions