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

Incorrectly detected clusters #2454

Open
kiemlicz opened this issue Oct 18, 2024 · 0 comments
Open

Incorrectly detected clusters #2454

kiemlicz opened this issue Oct 18, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@kiemlicz
Copy link

Describe the bug

Contexts are displayed as clusters instead of clusters.

To Reproduce

Steps to reproduce the bug:

  1. Load cluster
  2. Choose file
  3. load file with these contents
apiVersion: v1
clusters:
- cluster:
    certificate-authority-data: blabla
    server: https://address:6443
  name: k3s
contexts:
- context:
    cluster: k3s
    namespace: infra-flux
    user: default
  name: flux
- context:
    cluster: k3s
    namespace: home
    user: default
  name: home
- context:
    cluster: k3s
    namespace: infra-ingress
    user: default
  name: ingress
- context:
    cluster: k3s
    namespace: infra-kubevirt
    user: default
  name: kubevirt
- context:
    cluster: k3s
    namespace: infra-logging
    user: default
  name: logging
- context:
    cluster: k3s
    namespace: media
    user: default
  name: media
- context:
    cluster: k3s
    namespace: infra-metallb
    user: default
  name: metallb
- context:
    cluster: k3s
    namespace: infra-monitoring
    user: default
  name: monitoring
- context:
    cluster: k3s
    namespace: mosquitto
    user: default
  name: mosquitto
- context:
    cluster: k3s
    namespace: infra-openebs
    user: default
  name: openebs
current-context: home
kind: Config
preferences: {}
users:
- name: default
  user:
    client-certificate-data: blabla=
    client-key-data: blabla=
  1. Each context is displayed as separate cluster whereas there is just a single cluster k3s

Environment (please provide info about your environment):

  • Installation type: Linux-Tarball
  • Headlamp Version: 0.25.1
@kiemlicz kiemlicz added the bug Something isn't working label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

1 participant