Commit Graph

456 Commits (bc22b8705304b86c2f4c417a088accdfed13fdf8)

Author SHA1 Message Date
Fernand Galiana bc22b87053
Rel v0.50.2 (#3269)
* fix#3266 dp alias fails

* fix#3267 add no data flash

* fix#3264 storage-class broke describe/yaml

* fix#3260 po yaml crash

* rel notes
2025-04-10 09:29:21 -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 fc5f1907c4
Rel v0.40.9 (#3205)
* update write icon

* fix#3202

* rel docs

* update linter

* lint

* test

* lint
2025-03-15 16:41:39 -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 08b8efa617
Rel v0.40.7 (#3188)
* [FEAT] add readonly indicator

* [FIX] Hosed cust view loading

* rel notes
2025-03-10 12:29:36 -06:00
Erich Fussi 1244cc518d
fix: allow absolute paths for the 'dir' command (#3186) 2025-03-10 11:28:32 -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
DanCocking 4867f5361d
Trigger all marked cronjobs (#3177)
Currently, running the cronjob trigger command supports
triggering the currently selected cronjob only. It would
be nice if this feature supported triggering all marked
cronjobs in the case that there are marked cronjobs - in
a similar fashion to scaling deployments or generally
deleting resources.

Let's modify cronjob triggering to support the case where
the user has marked multiple cronjobs in the cronjob view.
2025-03-09 13:40:20 -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
Clément Rezvoy 8b2939c4ff
fix: Avoid false positive matches in enableRegion (#3093) (#3140) 2025-02-23 18:12:18 -07:00
rhslack f8fbd981d7
Pass grv on gotoResource as a String (#3149)
Signed-off-by: Fabio Felici <fabio.felici96c@gmail.com>
2025-02-23 10:50:50 -07:00
Fernand Galiana e44c223e91
Rel v0.40.4 (#3130)
* fix#3119 - non alpha cust col

* Address issues:

o fix#3118 - wrong res shown on alias
o fix#3120 - shuffled cols after sort

* fix#3122 - view event not sorted

* rel v0.40.4
2025-02-17 23:27:56 -07:00
Jayson Wang 6881892433
allow scaling custom resource (#2833) 2025-02-16 10:46:47 -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
Ümüt Özalp 4acf9384d9
Feature/DisableAutoscroll (#2865)
* feat: add disableAutoscroll option to logger configuration

* chore: update logger configuration to enable autoscrolling
2025-02-15 17:36:15 -07:00
Fernand Galiana c45c44c111
Rel v0.40.0 (#3109)
* misc cleanups

* update vul scans

* update deps

* [custv] config updates

* [custv] dao updates

* [custv] model updates

* [custv] render updates

* [custv] ui updates

* rel notes
2025-02-15 15:33:33 -07:00
Johannes 18b2ada6a6
Rename "delete local data" checkbox description in drain dialog (#3060)
* Rename DeleteEmptyDirData checkbox to properly reflect the kubectl drain cli option

* Fix capitalization
2025-02-01 08:53:54 -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
Alexandru Placinta 4642077975
Dialog boxes use dialog style (#2150) 2025-01-12 09:27:49 -07:00
Alexandru Placinta 31f8aa6334
Fix K9S_EDITOR (#3043) 2025-01-08 11:14:57 -07:00
Nathan Baulch 420a53317e
Fix typos (#3026) 2024-12-16 09:09:22 -07:00
Varun Rathod c9ad95ab0c
k9s doesn't honor KUBECONFIG environment variable when replacing value for plugin (#2862) 2024-11-28 11:21:03 -07:00
Fernand Galiana 6b5d24f574
Rel v0.32.7 (#2971)
* update deps + vulscan

* fix #2961

* fix #2970 #2962 #2966

* fix #2958

* fix #2969

* fix #2945

* update rel notes
2024-11-16 13:21:23 -07:00
Fernand Galiana 9984e3f4bf
Release v0.32.6 (#2955)
* update releaser

* fix err messages

* make pf display the correct address

* fix regex filters

* fix cust res loading

* add container index

* update deps + clean up

* release v0.32.6
2024-11-10 10:08:54 -07:00
Zak Cook 99d47ab7e7
Fix "Mark Range": reduce maximum namespaces in `favorites`, fix shadowing of ctrl+space (#2927)
* fix: avoid creating a ctrl+space key when index out of range

* fix: reduce maximum favorite namespaces to 9, making space for "all"

* fix: correct index incrementation

* refactor: remove usage of NumKeys

* feat: check for favorite namespace index in NumKeys

* feat: break when out of number keys, increment index when slot found
2024-11-09 12:26:36 -07:00
Ümüt Özalp 88394a4cc2
Add leading space to Kubernetes context suggestions (#2791) 2024-08-18 09:23:56 -06:00
Jayson Wang 4b2111e327
should switching ctx before ns (#2750) 2024-08-15 18:28:26 -06:00
Jayson Wang 92bd181ac0
enable "jump to owner" for more kinds (#2763) 2024-08-15 18:10:03 -06: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 7380be9cf8
fix view sorting being reset (#2736) 2024-06-15 09:03:13 -06:00
gitolicious 9594065f41
fix: jump to namespaceless owner reference (#2718) 2024-05-26 08:56:00 -06:00
Jayson Wang f802d3948a
allow jumping to the owner of the resource (#2700) 2024-05-18 08:49:41 -06:00
Ruslan Timofieiev 21e091b237
Allow overwriting plugin output with command's stdout (#2644)
* Allow overwriting plugin output with command's stdout

* Update README.md

* remove 1  indentation level
2024-04-20 12:02:26 -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
Alexej Disterhoft 0403a9310d
fix: pass set retries to transfer command (#2596)
The newly introduced retries field in the transfer dialog was not
passed to the transfer command. This commit fixes that.

Follow-up of #2584
2024-03-06 12:47:29 -07:00
Fernand Galiana 00213115be
K9s release v0.32.3 (#2599)
* [Bug] Fix #2584 (with feelings)

* Release v0.32.3
2024-03-05 23:34:06 -07:00
Fernand Galiana ecd33ff48d
K9s release v0.32.2 (#2598)
* [Maint] cleaning up

* [Bug] Fix #2593

* [Bug] Fix #2582

* Release v0.32.2
2024-03-05 17:11:31 -07:00
Fernand Galiana 69cd0cd707
K9s/release v0.32.1 (#2591)
* [Bug] Fix #2579

* [Bug] Fix #2584

* [Exp] make pf address configurable via K9S_DEFAULT_PF_ADDRESS

* v0.32.1 release
2024-03-04 17:57:20 -07:00
Alexej Disterhoft b850775d41
fix: properly initialize key actions in picker (#2586)
This commit fixes a bug introcuded in v0.32.0 where the shell-in and
attach commands would fail with a nil pointer exception for pods with
more than one container.

Resolves #2585
2024-03-04 13:56:38 -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
yinheli 00e4600788
feat: sort by role in node list view (#2558) 2024-02-29 07:53:53 -07:00
Jakob Edding 93cad8c958
Use configured log fgColor to print log markers (#2546) 2024-02-21 20:14:45 -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
Othmane EL MASSARI 914bffc0a7
feat: allow override of plugins & hotkeys shortcuts (#2510)
* feat: allow override of plugins & hotkeys shortcuts

* add docs and log.info when overrides

* edit log message

* fix doc

* Update README.md
2024-02-07 09:19:48 -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
Jayson Wang 763a6b0e00
adding the f command to pf extender view (#2511) 2024-02-05 16:56:21 -07:00