You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
omniproc opened this issue
Jun 27, 2024
· 0 comments
Assignees
Labels
backendIssues related to the backendblockerCompletely prevents the user from using the software.bugSomething isn't workingfrontendIssues related to the frontendwindowsIssues related to Windows or WSL
Currently when a kubeconfig file is loaded that has a unsupported encoding, e.g. Windows Powershell's "Out-File" default UTF-16 LE BOM, Headlamp will return the very vague error message "Load a valid kubeconfig".
This makes it hard to understand what's wrong with the file given that the syntax of the file itself will be perfectly fine.
Headlamp should either support different encodings or at very least report back that an encoding error occurred.
Steps to reproduce:
Take a working kubeconfig my-working-kubeconfig.yaml and load it in Headlamp making sure it is accepted as valid kubeconfig
Run the Powershell snippet Get-Content my-working-kubeconfig.yaml -Raw | Out-File my-failing-kubeconfig.yaml
Try to load my-failing-kubeconfig.yaml
The text was updated successfully, but these errors were encountered:
illume
added
bug
Something isn't working
backend
Issues related to the backend
windows
Issues related to Windows or WSL
blocker
Completely prevents the user from using the software.
labels
Jul 8, 2024
backendIssues related to the backendblockerCompletely prevents the user from using the software.bugSomething isn't workingfrontendIssues related to the frontendwindowsIssues related to Windows or WSL
Currently when a kubeconfig file is loaded that has a unsupported encoding, e.g. Windows Powershell's "Out-File" default UTF-16 LE BOM, Headlamp will return the very vague error message "Load a valid kubeconfig".
This makes it hard to understand what's wrong with the file given that the syntax of the file itself will be perfectly fine.
Headlamp should either support different encodings or at very least report back that an encoding error occurred.
Steps to reproduce:
my-working-kubeconfig.yaml
and load it in Headlamp making sure it is accepted as valid kubeconfigGet-Content my-working-kubeconfig.yaml -Raw | Out-File my-failing-kubeconfig.yaml
my-failing-kubeconfig.yaml
The text was updated successfully, but these errors were encountered: