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

save file - context name is lowercase #2984

Open
dharapvj opened this issue Nov 22, 2024 · 0 comments
Open

save file - context name is lowercase #2984

dharapvj opened this issue Nov 22, 2024 · 0 comments

Comments

@dharapvj
Copy link




Describe the bug
We get our kubeconfig generated with context names in mixed case. So when we try to save csv file, it gives error as file not found. the folder in the ~/.local/state/k9s/screen-dumps/A/B is created following the mixed cased context name.. but the path mentioned in the error shows folder name with all lower case characters.

If I rename the B folder to all lower case - csv gets saved successfully.

To Reproduce
Steps to reproduce the behavior:

  1. Rename your context in kubeconfig to container some capital letters.
  2. Go to Deploy page in k9s and list deployments
  3. Press Ctrl+S
  4. See error

Expected behavior
Upton pressing Ctrl+S, csv export should be successful despite mixed cased context names in kubeconfig.

Screenshots
See error message - all lower case
image

See the directory name.. in caps
image

Versions (please complete the following information):

  • OS: ubuntu
  • K9s: v0.31.7]
  • K8s: v1.29.2
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