Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
adietish opened this issue Mar 5, 2025 · 0 comments
Open

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

adietish opened this issue Mar 5, 2025 · 0 comments

Comments

@adietish
Copy link
Contributor

adietish commented Mar 5, 2025

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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant