Commit Graph

140 Commits (00b28ceeeecabd1c97b25faf89be60a1bb5adc91)

Author SHA1 Message Date
Fernand Galiana 00b28ceeee
Rel v0.50.7 (#3436)
* fix #3406 - update and clean history navigation

* fix #3383 - cronjob auth fix

* clean up and updates

* update prompt indicator to diff cmd vs filter

* fix #3398 - dialog focus update

* update deps

* fix #3435 - noexit on ctrl-c

* fix #3412 - toggle decode

* fix #3424 - add gpu on node

* fix #3422 - resource switch ns

* update rel notes
2025-07-05 10:36:36 -06:00
Fernand Galiana 142282b584
Rel v0.50.1 - HotFix ;( (#3263)
* v0.50.0 hotfix

* rel notes
2025-04-09 23:58:37 -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 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
tyzbit 548536e40d
fix(history): handle cases where special commands add their command to the stack (#3168)
Fixes #3166

Throughout the code, pushCmd is used for when a command is being executed (switched to) to conditionally add the new command onto the history. The history commands (keybinds `[`, `]`, `-`) only navigate through the stack with indices and therefore should never manipulate the stack -- however with some special commands (specialCmd), navigating to those commands previously unconditionally added the command to the stack unlike "typical" commands like `pods`, `svc`.

Here we pass in the pushCmd boolean to all appropriate special commands so that if the stack should not be manipulated, they do not push their command onto the stack.

The original issue reported issues with Aliases, but there were unreported bugs with Namespaces and Contexts as well. Notably, RBAC commands and Dir commands were not modified as they do not push their command onto the history stack, functioning more as "virtual" commands that will not appear in the history.
2025-03-07 07:32:34 -07:00
tyzbit cc1c86ccb4
feat(app): add history navigation with `[` and `]`, most recent command with `-` (#2799)
* feat(app): add Go Back and Last View

Go Back walks back through the history until at the oldest saved view

Last View switches between the current and previous views like how "cd -" works

* feat(history): add keyboard shortcuts to navigate history

* fix(tests): fix history/app tests

* docs(README): update history and last command navigation info

* fix(internal): add missing parameter

* feat(help): add history keybinds

* fix(help): adjust capitalization for history commands

* docs(readme): fix typo

Co-authored-by: merusso <merusso@gmail.com>

---------

Co-authored-by: merusso <merusso@gmail.com>
2025-02-15 17:40:29 -07:00
Fernand Galiana d72467a582
Fix lint build (#3066)
* clean up

* fix bug computing resource limits

* update rs rendering to match kubectl

* display ctx view if all hell fails

* clean ups and refactors

* fix linter issues
2025-01-19 09:47:29 -07:00
Fernand Galiana 3f30a70688
K9s/release v0.32.5 (#2740)
* [MAINT] Bump grype rev

* add env vars to override pf address and nodeshell

* mv bailout to app view

* rel v0.32.5
2024-06-15 10:14:57 -06:00
Jayson Wang 1a25109d25
checking for nil pointer in merge namespace (#2659) 2024-04-20 11:05:54 -06:00
Fernand Galiana d3027c8f29 K9s/release v0.32.4 (#2637)
* [Bug] fix #2605

* [Bug] fix #2604

* [Bug] fix #2592

* [Bug] fix #2608

* [Bug] Fix #2612

* Rel v0.32.4
2024-03-20 13:14:37 -06: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 f2f4077b59
K9s/release v0.31.9 (#2543)
* [Bug] fix #2535

* [Bug] fix #2532

* [Bug] fix #2536

* [Bug] fix #2533

* [Bug] fix #2538

* [Maint] cleaning up

* Release notes
2024-02-15 17:43:29 -07:00
Fernand Galiana 90a810ffc2
K9s/release v0.31.8 (#2528)
* [Maint] Fix race condition issue

* [Bug] Fix #2501

* [Maint] Allow reference to resource aliases for plugins

* [Feat] Intro cp namespace command + misc cleanup

* [Maint] Rev k8s v0.29.1

* [Bug] Fix #1033, #1558

* [Bug] Fix #2527

* [Bug] Fix #2520

* rel v0.31.8
2024-02-06 19:21:28 -07:00
Fernand Galiana c76703a6e8
fix #2492 (#2493) 2024-01-18 12:33:10 -07:00
Fernand Galiana 65100b05d9
K9s/release v0.31.2 (#2452)
* [Bug] Fix #2428

* fix #2446

* fix #2449

* schemas updates

* Add debug info

* v0.31.2 rel notes
2024-01-09 11:34:46 -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
Jayson Wang 96a7e5a4d4
switch contexts only when needed (#2433) 2024-01-07 10:03:59 -07:00
Fernand Galiana 982bf6a728
K9s/release v0.30.7 (#2416)
* [Bug] Fix #2413

* [Bug] Fix #2414

* [Bug] Fix #2407

* cleaning up

* Add config files watcher

* rel notes
2024-01-02 23:57:07 -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
Fernand Galiana 34da44b441
K9s/release v0.30.4 (#2392)
* v0.30.3 version update (#2383)

* Update build v0.30.2

* v0.30.3

* [Bug] Fix #2387

* [Bug] Fix #2391

* rel v0.30.4

---------

Co-authored-by: Emanuele Ciurleo <emanuele@ciurleo.com>
2023-12-26 10:30:11 -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 a44cb6135c K9s Release v0.29.0 (#2326)
* Feat: Move shell pod cluster config to general config

> BREAKING CHANGE! K9s configuration breaking change! Shellpod specification will
no longer reside with a cluster configuration. It is now part of the
global K9s configuration object.

Shellpod configuration should be part of k9s config. Clusters admins
will most likely use the same image and config to run shells on their
nodes. Each cluster in turn will have the option to either
enable/disable shelling into nodes. This not only DRYs up the k9s config
but also allows user to consolidate their shell pod configuration in one
central place.

* Fix #2290 - Add freebsd assets

* Maintenance cleaning up

* Fix #2166 - Add taint tracking column to node view

* Fix #2009: Update screendump file names to contain resource info

* Maintenance: Cleanup errror messages

* Fix #1513: Change log default to tail vs last 5min

* Fix #2166: Add taint indicator on node view

* Fix #2165: Track init co restarts

* Fix #2308: Fix rbac auth checks

* Fix #2036: Fix npe on filtering CRDs

* Fix #2219: Turn on TTY option on shellpod

* Fix #2167: Update color escape sequence on copy

* Fix #2297: Enable multi select on nodes

* Cleanup headers

* Fix #2162: Allow edit when describing/viewing

* Feat: Add helm release history support

* Fix #2039: Command Arrow up/down + enter support

* Small refactor

* Add img vulenerability scans support

* Change skin loading and support

- Move skin specification to k9s cluster config section
- Load skins for skins dir

* Release v0.29.0 docs
2023-12-06 23:12:39 -07:00
Jayson Wang 0c642c6786
proper handling of help commands (fixes #2154) (#2319) 2023-11-29 08:56:27 -07:00
Jayson Wang c639b6a5cf
fix namespace suggestion error on context switch (#2315) 2023-11-28 07:46:44 -07:00
Jayson Wang fcfff5701e
add suggestions for context and resources on the command bar (#2285)
* add suggestions for context and resources on the command bar

* instead strings.Fields

* cacheable and provide test cases
2023-11-26 17:17:46 -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
Takumi Sue 23e600bef5
Use current k9s NS if new context has no default NS (#2197)
* Fix resetting active namespace when switching ctx

* Respect existing behavior

and set k9s's active ns if no ns specified in the context
2023-11-12 10:23:46 -07:00
Fernand Galiana d19c792feb
K9s/rel v0.28.0 (#2274)
* check for plausible overflow when seting up env

* Various fixes and clean up

* Introduce File transfer command

- Add ability to upload/download files from/to pods

* release v0.28.0
2023-11-07 17:22:41 -07:00
Yarek T c67093807b
Focus command bar if active on startup (#2179)
If the command bar was activated with `:` before or during the splash
delay, the main page would steal focus from it, breaking the UI.

This patch re-focuses the command bar if its active after switching
focus to the main page.

Fixes issue #2178
2023-08-05 08:43:27 -06:00
tyzbit 5657b3cd72
fix: (views) use saved context view when switching (#2045)
* fix: (views) use saved context view when switching

* fix: (app) remove unnecessary variable
2023-05-07 08:15:11 -06:00
Fernand Galiana d5c9cf5ed5
release v0.27.1 (#1945) 2023-01-31 08:09:53 -07:00
Mohamed Messaad 530d067110
feat: add noLatestRevCheck config option (#1874)
* feat: add noLatestRevCheck flag to configure whether k9s should fetch the latest rev from the Github repo.

* refactor: rename "noLatestRevCheck" to more appropriate "skipLatestRevCheck"
2022-11-29 08:52:33 -07:00
Dan Ramich ca29473238
Bump all references of github.com/cenkalti/backoff to v4 (#1821) 2022-10-30 07:41:17 -06:00
Fernand Galiana 412b064439
K9s/rel v0.26.4 (#1767)
* release v0.26.4

* update deps

* update docs

* fix merge

* update gha
2022-09-21 14:28:21 -06:00
Fernand Galiana df613ec88d
fix #1384 (#1388) 2021-12-17 10:04:52 -07:00
Fernand Galiana fdc638c5d4
release v0.25.13 (#1383) 2021-12-16 09:30:10 -07:00
Fernand Galiana 11c2ae2622
release v0.25.11 (#1377) 2021-12-14 10:44:24 -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
Fernand Galiana 165ffeab93
K9s: rel v0.25.4 (#1322)
* release v0.25.4

* update docs

* update docs
2021-11-20 13:23:26 -07:00
Fernand Galiana 83b5feeb37
fixed #1308 #1307 #1296 (#1309) 2021-11-16 13:58:51 -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 a85a1eced1 checkpoint 2021-05-02 13:41:16 -06:00
derailed a951b552fb checkpoint 2021-05-02 12:46:15 -06:00
derailed d38efba564 fix bugz 2021-04-29 10:51:56 -06:00
Jeroen Op 't Eynde e2866adcb5
Option to hide logo (#1026) 2021-03-19 08:15:04 -06:00