Ümüt Özalp
7e31b293d6
fix(lint): update golangci-lint version to v2.13 ( #4197 )
...
* fix(lint): update golangci-lint version to v2.13
* fix(lint): resolve goconst/gosec/govet issues from golangci-lint v2.13
2026-09-14 15:04:24 -06:00
Ümüt Özalp
b8eaf579b7
fix: avoid logging errors when no context is configured ( #3783 )
...
* fix: avoid logging errors when no context is configured
* fix: update error message for missing active context
* fix: handle case when no active context is available in Reload function
* fix: implement HasActiveContext method to check for configured kube context
* fix
2026-05-31 07:40:43 -06:00
Michael Shields and Fernand Galiana
4edbec95cd
feat: add dark/light theme inversion using Oklch ( #3749 )
...
* feat: add color inversion setting using Oklch
Add `k9s.ui.invert: true` config option and `--invert` CLI flag to
convert dark themes to light backgrounds, or vice versa.
This uses the Oklch perceptual color space with relative chroma
preservation for visually balanced results. Color processing is
done with the Colorful library, which is already an indirect
dependency.
* fix: preserve chroma during color inversion by adjusting L
Change the color inversion algorithm to preserve chroma (saturation)
at the expense of exact lightness inversion. When the ideal inverted
lightness would result in insufficient gamut space for the original
chroma, L is adjusted toward 0.5 where the sRGB gamut is larger.
This improves color differentiation after inversion. For example,
cyan and green previously both became nearly black (L≈0.10) with
minimal chroma, making them hard to distinguish. Now they invert
to L≈0.45 with preserved chroma, maintaining their visual difference.
The chromaPreserveFactor constant (0.5) controls how much original
chroma to preserve, balancing color differentiation against L fidelity.
* fix: resolve golangci-lint warnings in color code
Use lowercase variable names per Go conventions and remove
unnecessary fmt.Sprintf wrappers in test assertions.
---------
Co-authored-by: Fernand Galiana <[email protected] >
2026-01-11 10:41:03 -07:00
Ümüt Özalp
d21f6cd2bc
fix: replace panic with os.Exit in Execute function for better error handling ( #3702 )
2025-12-13 11:41:06 -07:00
Ümüt Özalp
e99c735430
Feature/refresh rate ( #3517 )
...
* refactor: change refreshRate type to float64 for improved precision
* test: update assertions for refreshRate to use assert.InDelta for precision
* refactor: enforce minimum refresh rate and update related tests
* refactor: change refresh rate type to float32 and update related logic
* refactor: update refresh rate validation and logging in GetRefreshRate method
* refactor: update logging keys for refresh rate validation in GetRefreshRate method
2025-08-25 12:01:03 -06:00
Ümüt Özalp
adf95bdebe
fix: update time format in logging to 24-hour format ( #3296 )
...
* fix: update time format in logging to 24-hour format
* fix: update time format in logging to use time.TimeOnly
* fix: update logging time format to RFC3339
2025-05-03 07:50:13 -06:00
Fernand Galiana
e4e3816185
Rel v0.50.4 ( #3293 )
...
* fix#3278 honor ns ovewride
* refactor column exclude
* [feat] add configurable api server timeout
* clean
* fix#3285 - add restart option for flux support
* fix#3283 fix dp ready state
* update vulscan deps
* fix#3288 fix cust view filter
* fix#3286 match-exp
* rel notes
2025-04-19 12:07:10 -06:00
Ümüt Özalp
c2694ee3e5
Feature/default_view ( #2866 )
...
* initialView
* Removed log msg
* fix: tests
* fix: rename to defaultView
* docs: add defaultView setting to README
2025-04-19 11:58:51 -06:00
Max Xu and Fernand Galiana
fbd2a0250a
fix: set default request timeout to 120 seconds ( #3253 )
...
Signed-off-by: Max Xu <[email protected] >
Co-authored-by: Fernand Galiana <[email protected] >
2025-04-19 10:16:06 -06:00
Fernand Galiana
e55083ba27
Rel v0.50.0 ( #3254 )
...
* update deps + add stale issues
* springclean client and dao
* gvr clean up
* perf updates
* springclean render
* update gvr
* perf
* add jq like cust views support
* springclean config and models
* gvr update
* perf
* springclean perf
* springclean ui bits
* update ro icon
* updage gvr
* perf
* springclean watch
* update linter to v2
* update gha workflows
* small clean up
* spring clean
* move pool to internal
* rel notes
2025-04-08 23:40:34 -06:00
Fernand Galiana
3a03b67af0
Rel v0.40.11 ( #3239 )
...
* Fix #3222 - add gvr title config option
* Fix #3224 - pod shell use default co annotation
* Fix #3226 - yaml search busted
* Fix #3210 - description line is buggy -> update ro icons
* deps-update
* spring cleaning
* update deps + add stale issues
* cleanup secrets
2025-03-30 11:42:45 -06:00
Jason Tackaberry
88e04217a2
feat: add splashless option to suppress splash screen on start ( #3110 )
...
* Add splashless option to suppress splash screen
Fixes #1911
* Add tests for splashless option
* Update docs for splashless option
2025-03-30 09:37:57 -06:00
Fernand Galiana
45c2137df8
Rel v0.40.8 ( #3198 )
...
* Update deprecated yaml.v2->v3
* [Fix] fix issue with yaml sanitization when [] or [xxx] are present
* Spring cleanup
* fix#3192
* Column Blow Reloaded
* Add ability to use alias when specifying custom views
2025-03-11 18:15:20 -06:00
Fernand Galiana
a8b75ef1e5
Rel v0.40.6 ( #3185 )
...
* update deps
* docs
* fix#3161 - add V attr
* add alias sort
* fix#3139 - cpu/mem with rx
* fix#3147 - prompt styles
* fix#3138 - rbac subres
* update deps
* mv pfAddress to main config + relax validation
* fix#3179 - gvr title
* fix#3178 - jobs in wrong ns
* fix#3163 - cust views with ns
* fix#3162 - ctx switch save in wrong context
* switch over to slog logger
* add exit code
* update default timeout
* rel notes
* update docs
* rel notes
2025-03-09 13:58:44 -06:00
Alexandru Placinta
b3bd60b67f
Add proxy configuration at the context level ( #2675 )
2025-01-12 09:17:19 -07:00
Tom McTiernan
554f63a1e2
Put log levels in order in cmd help ( #2960 )
2024-11-16 12:50:29 -07:00
Fernand Galiana
0d16531016
K9s/release v0.32.0 ( #2577 )
...
* [Perf] improved load perf and ui updates
* [Bug] Fix #2557
* [Maint] refactor + spring cleaning up
* [Bug] Fix #2569
* [Maint] Refactor + cleanup
* [Bug] Fix #2560
* [Maint] Refactor + cleanup
* Release v0.32.0
2024-03-02 10:18:47 -07:00
Fernand Galiana
ecb253622e
K9s/release v0.31.7 ( #2491 )
...
* fix #2488
* rel v0.31.7
2024-01-18 09:02:30 -07:00
Fernand Galiana
a543f47319
K9s/release v0.31.6 ( #2487 )
...
* [Bug] Fix #2476
* rel v0.31.6
2024-01-17 23:52:48 -07:00
Jayson Wang
66cb682aab
shell autocomplete for k8s flags ( #2477 )
2024-01-16 17:26:00 -07:00
Fernand Galiana
ff17fff286
K9s/release v0.31.5 ( #2469 )
...
* fix #2466
* fix #2465
* rel v0.31.5
2024-01-12 14:59:38 -07:00
Fernand Galiana
356c56138e
K9s/release v0.31.4 ( #2464 )
...
* [Bug] Fix scale dialog ui
* [bug] Fix #2463
* v0.31.4 release notes
2024-01-10 16:57:37 -07:00
Fernand Galiana
268def2834
K9s/release v0.31.3 ( #2460 )
...
* allow k9s to run with errors
* fixes #2459 #2458 #2454 #2435
* v0.31.3 rel notes
2024-01-10 09:38:26 -07:00
Fernand Galiana
6cc4374e83
K9s/release v0.31.0 ( #2440 )
...
* cleaning up
* [Bug] Fix #2425 - no context skin issue
* [Bug] Fix #2428
* [Feat] schema validation
* v0.31.0 Release notes
2024-01-08 18:30:49 -07:00
Fernand Galiana
6a43167f1a
K9s/release v0.30.6 ( #2403 )
...
* fix #2401
* fix #2400
* fix #2387
* rel notes
2023-12-28 14:16:59 -07:00
Fernand Galiana
9e337a6be0
K9s/release v0.30.5 ( #2397 )
...
* [Bug] Fix #2393
* [Maint] Cleaning up
* rel docs
2023-12-27 17:40:44 -07:00
Jayson Wang
defad7a174
fix cmdline flags not working ( #2373 )
2023-12-24 22:15:27 -07:00
Fernand Galiana
dcec53e061
K9s/rel v0.30.0 ( #2361 )
...
* [Maint] Refactor VS col handling
* [Bug] Add helm hist <enter> values cmd
* [Bug] Add context specific skins within a given cluster config.
* [Maint] Image scan controls
* [Bug] Fix fwd+bench timestamp
* [Refact] all-ns const
* [Maint] update tabledefs from metav1beta1 to metav1
* [Feat] Introduce workload view
* [Maint] Add convenience to map out ns names
- Refactor allnamespaces
* [Cleanup] axe pegomock
* [Refact] Use gvr type vs string
* [Feat] Add blacklist scans exclusions
* [Feat] setLabels for stored commands
* [Maint] Rename api-group column
* [Refact] gvr type refactor
* [Maint] Cleaning up
* [Bug] Add ability to skin based on context
- Handles cluster spanning *contexts
* [Maint] Cleaning up
* [Feat] Cmd interpreter
* [Maint] Clean up + bug fixes
* [Feat] Changed k9s config loader
> NOTE: !!Breaking change!!
- Make k9s config readonly
- Move writable artifacts to XDG data dir
- Move transient artifacts to XDG state dir
- Add per context skin option
- Add per context readonly option
- Consistent pluralization file names to yaml section
* [Docs] Update release and README docs
* [Maint] Rebase + cleanup
* [Maint] Normalize config extensions all yml -> yaml
* [Maint] Cleaning up + fixes
2023-12-23 14:29:55 -07:00
Fernand Galiana
702f6f01b2
Clean up items... ( #2303 )
...
* Update licence header
* Add linter workflow
* Add pkg builds
2023-11-19 08:43:39 -07:00
Fernand Galiana
b5a7cfb3af
K9s/rel v0.27.0 ( #1932 )
...
* fix #1661 #1680
* rev k8s + cleanup
* release v0.27.0
2023-01-26 11:07:43 -07:00
wkyoshida
8f382eb33e
Use default terminal colors for better readability ( #1290 ) ( #1837 )
...
* fix(skins): use additional default colors for 'transparent' skin
* fix(cmd): use default terminal color for cmd output
2022-12-03 12:44:46 -07:00
Fernand Galiana
fc8ffe5d37
release v0.25.16 ( #1400 )
2021-12-24 17:41:35 -07:00
Fernand Galiana
fdc638c5d4
release v0.25.13 ( #1383 )
2021-12-16 09:30:10 -07:00
Fernand Galiana
34eab38afb
k9s: release v0.25.9 ( #1364 )
...
* release v0.25.9
* update docs
2021-12-13 13:02:44 -07:00
Vlasov Artem and Artem Vlasov
0249f7cf2c
Add customizable dump directory property ( #1321 )
...
* Add customizable dump directory property
Add property for configuration file and arguments
* Resolve Comments
Co-authored-by: Artem Vlasov <[email protected] >
2021-12-13 12:42:44 -07:00
Wendell Sun
265e0561aa
add logFile flag to change the default log file path ( #1336 )
2021-11-26 15:41:44 -07:00
mattn
256441692a
Support colors on Windows ( #1312 )
2021-11-26 14:12:03 -07:00
Fernand Galiana
4e20e5f110
K9s: Release v0.25.0 ( #1304 )
...
* update rel notes
* release 0.25 checkpoint
* cleaning up
2021-11-15 23:24:51 -07:00
Fernand Galiana
a35155415e
fix cron triggers ( #1171 )
2021-06-29 08:25:04 -06:00
derailed
9b498196f9
fix #1163 #1153 #1151 #1140 #1137 #1132 #1131
2021-06-27 23:22:13 -06:00
derailed
a951b552fb
checkpoint
2021-05-02 12:46:15 -06:00
Fernand Galiana
561a0c1f41
K8s update ( #1041 )
...
* rev k8s
* add rel notes
* checkpoint
* add helm
* cleaning up
* cleaning up
* rel notes
* check deps
* rev apis + bugs
* cleanup cronjob view
* update rel notes
* clean up + docs
2021-03-19 09:20:05 -06:00
Jeroen Op 't Eynde
e2866adcb5
Option to hide logo ( #1026 )
2021-03-19 08:15:04 -06:00
derailed
512c40fae0
rel v.24.0 - maintenance drop
2020-11-21 10:20:32 -07:00
derailed
dcf7427038
missed a file
2020-11-06 19:54:36 -07:00
derailed
ea9f6abd08
perf pass on no/po/co
2020-11-06 14:22:02 -07:00
derailed
b6c61600a4
fix #929
2020-11-05 17:15:50 -07:00
derailed
2d2c6b06b6
maintenance release. Fix #920 and perhaps improved #663
2020-11-02 23:35:08 -07:00
derailed
5c1ff0ed7b
Fix #906 #889 #564
2020-10-30 12:52:15 -06:00
derailed
c4fcecf7e7
clean up and bugs fix
2020-10-29 16:34:04 -06:00