Skip to content

"OpenShift: Create" fails with "You need at least one project available" #2864

@datho7561

Description

@datho7561

How to reproduce the error:

  1. Login to a cluster
  2. Copy https://raw.githubusercontent.com/openshift-labs/starter-guides/ocp-4.6/mongodb-template.yaml into a .yaml file and save it
  3. With the file opened in the editor and focused, run "OpenShift: Create" from the command palette
  4. Even if you have a project set up, you get the error "You need at least one project available"

I think the root cause is that the underlying method that gets the name of the currently active project doesn't work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions