-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Missing '.thresholds' in config.yaml result in 'assignment to entry in nil map' #2448
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
the .thresholds key is required to be present the default config file at $XDG_CONFIG/k9s/config.yaml
To Reproduce
- Copy the default configuration (config.yaml) from https://k9scli.io/topics/config/
- remove
.shellPods.ttybecause k9s doesn't accept this config (another bug than this one) - remove the
.thresholdskey from the config - Start
k9sand see the error assignment to entry in nil map - Add
.thresholdsback to the config - Start
k9sand now it's working properly
Historical Documents
Expected behavior
k9s starts successfully with default configurations
Versions (please complete the following information):
- OS: Fedora 38. Linux kernel 6.6
- K9s: 0.31.1
- K8s: 1.28.4
Additional context
all configs under ~/.config/k9s and ~/.local/share/k9s are deleted prior to issuing a k9s 0.31.1 command.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working

