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

--write cli option does not work (0.30.X) #2371

Closed
alt-dima opened this issue Dec 24, 2023 · 3 comments · Fixed by #2373 or #2531
Closed

--write cli option does not work (0.30.X) #2371

alt-dima opened this issue Dec 24, 2023 · 3 comments · Fixed by #2373 or #2531

Comments

@alt-dima
Copy link




Describe the bug
--write CLI option does not override setting in config.yaml

To Reproduce
Steps to reproduce the behavior:

  1. remove folder ~/Library/Application Support/k9s
  2. open any k8s cluster/context in k9s (without --write cli option )
  3. Make sure that write commands are available (like delete pod)
  4. Change readOnly to false in ~/Library/Application Support/k9s/config.yaml
  5. execute k9s with --write and open same cluster/context in k9s
  6. check that write commands are still unavailable (like delete pod)

Expected behavior
Write commands are available (like delete pod) with --write cli option

Screenshots
If applicable, add screenshots to help explain your problem.

Versions (please complete the following information):

  • OS: Sonoma
  • K9s: 0.30.1
  • K8s: 1.26.11

Additional context
Add any other context about the problem here.

@vytautaskubilius
Copy link

This still doesn't work as expected in 0.30.4.

@alt-dima
Copy link
Author

Yes, does not work in v0.31.4

@doy-materialize
Copy link
Contributor

i'm also still seeing this bug on v0.31.5

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

Successfully merging a pull request may close this issue.

3 participants