Skip to content

Shouldn't change my kube conf if I delete the current project #3591

@adietish

Description

@adietish

Steps:

  1. ASSERT: have your own project (not the default one) on your cluster
  2. ASSERT: your project is the current project in the kube config (oc project would tell you)
  3. EXEC: in vscode: pick "Delete" in it's context menu
  4. EXEC: check what current project it is using after it was successfully deleted
  5. EXEC: verify the current project in kube config using oc project

Result:
VSCode is now using "default" as current project. The current project in the kube config was changed to "default", too.

Expected result:
vscode shouldn't change the current project in the kube config. It should error instead and maybe allow me to change to a current different project in the error.

This was agreed as the behavior for intellij-openshift-connector in redhat-developer/intellij-openshift-connector#618 (comment)
We ideally should be consistent in intellij and vscode.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions