Skip to content

Cluster not accessible even if I pick the correct config file #4874

@adietish

Description

@adietish

related to #4816

Steps:

  1. ASSERT: have several config files. I created kind.yaml by launching the kind cluster via Podman Desktop, which created the file config. I then copied it over to kind.yaml and created config with the content that you see below:

config:

---
apiVersion: "v1"
kind: "Config"
current-context: "kind-kind-cluster"
preferences: {}

kind.yaml:

---
apiVersion: "v1"
kind: "Config"
clusters:
- cluster:
    certificate-authority-data: "XXXXX"
    server: "https://127.0.0.1:63039/"
  name: "kind-kind-cluster"
contexts:
- context:
    cluster: "kind-kind-cluster"
    namespace: "default"
    user: "kind-kind-cluster"
  name: "kind-kind-cluster"
current-context: "kind-kind-cluster"
preferences: {}
users:
- name: "kind-kind-cluster"
  user:
    client-certificate-data: "XXXXX"
    client-key-data: "XXXXXXX"
  1. EXEC: launch vscode-openshift
  2. ASSERT: you are prompted to select a config file
  1. EXEC: pick kind.yaml

Result:
vscode-openshift doesnt see my cluster.

kind.yaml is valid: if I copy kind.yml to config, vscode-openshift works fine:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions