Skip to content

Project not listed if it has a display name annotation #4101

@savissimo

Description

@savissimo

I have a project that has a display-name annotation:

metadata:
  annotations:
    openshift.io/display-name: Internal applications

This project is not listed in the quick pick when I try to change the active project. I tracked the bug down to this line, that excludes the project because oc projects outputs it like this:

int-apps - Internal applications

As soon as I removed the annotation, the project appeared in the list.

Also, as long as the annotation is present, the project is not found and I can't even list its deployments or resources.

Can this be fixed to take into account display names please?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions