Steps:
- ASSERT: have your own project (not the default one) on your cluster
- ASSERT: your project is the current project in the kube config (
oc project would tell you)
- EXEC: in vscode: pick "Delete" in it's context menu
- EXEC: check what current project it is using after it was successfully deleted
- 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.
Steps:
oc projectwould tell you)oc projectResult:
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.