Skip to content

Gateway: connection wizard is not preselecting current-context defined in kube config #23712

@adietish

Description

@adietish

Describe the bug

The connection wizard in the JetBrains Gateway is not preselecting the context that is set as current-context in the kube config(s)

Che version

7.113@latest

Steps to reproduce

  1. ASSERT: have a KUBECONFIG env var listing several files.
  2. ASSERT: have a config file with only current-context set
    ex.
apiVersion: v1
kind: Config
current-context: dogfood
preferences: {}
clusters:
  1. EXEC: launch connection wizard

Expected behavior

The combobox that allows the user to select the cluster to connect to should preselect the context that's set as current-context in the kube config(s)

Runtime

OpenShift

Screenshots

Image

Installation method

other (please specify in additional context)

Environment

Dev Sandbox (workspaces.openshift.com)

Eclipse Che Logs

Additional context

No response

Metadata

Metadata

Assignees

Labels

area/editor/jetbrainsJetBrains IDEs supportarea/gatewaykind/bugOutline of a bug - must adhere to the bug report template.severity/P2Has a minor but important impact to the usage or development of the system.

Type

Projects

Status

Ready for Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions