Commit Graph

428 Commits (88547dcc81ce8cf1c2b0a2baefd0899690c40824)

Author SHA1 Message Date
Ü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
Adam Sranko 3c20f0d5a1
Added defaultsToFullScreen flag for Live/Details view,logs (#2516)
* Added fullScreen flag for LiveView, updated readme.md

* Added fullScreenLView default value for tests

* Extended DefaultsToFullScreen to include logView and DetailsView
2024-02-03 07:54:38 -07:00
Fernand Galiana e5cadf1f25
[Bug] Fix #2486 (#2494) 2024-01-19 08:57:56 -07:00
Alexandru Placinta 1a2ee1028c
Secrets are decoded upon describe (#2461) 2024-01-18 17:36:52 -07:00
Fernand Galiana c76703a6e8
fix #2492 (#2493) 2024-01-18 12:33:10 -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
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 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
Jayson Wang 3137b2b55a
supports referencing envs in hotkeys (#2420)
* supports referencing envs in hotkeys

* add testcase for hotkeys

* rename attr name to keepHistory
2024-01-03 22:56:21 -07:00
Fernand Galiana d0f874e01a
K9s/release v0.30.8 (#2427)
* [Bug] Fix #2418

* cleaning up

* rel notes
2024-01-03 12:07:02 -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
Jayson Wang 39d93223d9
add boundary check for args parser (#2415) 2024-01-02 10:20:18 -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
Jayson Wang 27cc859e68
case sensitive for specific command args and flags (#2390) 2023-12-26 09:46:16 -07:00
Fernand Galiana 26d1585699
K9s/release v0.30.3 (#2381)
* fix #2377

* fix #2379

* cleaning up

* Release docs
2023-12-25 12:06:23 -07:00
Fernand Galiana f0d0e62b70
K9s/release v0.30.1 (#2369)
* [Bug] Fix #2368

* [Bug] Fix #2363

* [Bug] Fix #2364

* [Bug] Fix #2366

* [Bug] Fix #2367

* Release docs + rebase fixes
2023-12-24 11:29:22 -07:00
Jayson Wang f8ad4aa8c7
adding cancelable launch prompts to NodeShell (#2360) 2023-12-24 11:18:47 -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
Jayson Wang 7bd7ec766a
adding value, yaml and describe views to helm-history (#2341)
* correct describe of helm history

* value, yaml and describe view for helm-history

* add value_extender and clean up code

* move showValues to the new extender
2023-12-19 15:21:12 -07:00
Jayson Wang d0ec55737a
fix fuzzy matching not working properly (#2321)
* fix fuzzy matching not working properly

* delete continuousRanges
2023-12-08 08:10:40 -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 4e37faf383
check if the service provides selectors (#2322) 2023-12-01 15:51:40 -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