Commit Graph

487 Commits (f27846ce236fb89d76c91fa6da02b070aab5f0a2)

Author SHA1 Message Date
Tatsuya Kyushima 39a1001fe9
feat(pulse): map hjkl to navigate as help shows (#3699)
* feat(pulse): map hjkl to navigate as help shows

* fix(pulse): fix some key binding descriptions
2025-12-01 09:46:40 -07:00
Ümüt Özalp e5cdf04e51
fix for scale option appearing on non-scalable resources (#3696)
* fix: simplify scaling key binding condition

* fix: add ReplicaSet to scalable resource check

* fix: update expected hints count in deployment and stateful set tests
2025-12-01 09:40:33 -07:00
Artem Yadelskyi 6f0ecdec9b
feat: logs column lock (#3669)
* feat: logs column lock

* feat: logs column lock indicator

* feat: fix getting values from config

* feat: removed unnecessary new line
2025-11-17 10:53:18 -07:00
Ümüt Özalp 6bc67e97f4
Sort all columns (#3650)
* feat: enhance table column selection and sorting functionality

* fix: update key binding for sorting selected column to Ctrl+O

* remove unused setSelectedColIdx method and sortIndicator function

* test: update expected hints count in various view tests

* test: update expected hints count in TestServiceNew

* fix: update keyboard handling for column selection to use Shift key

* refactor: streamline column selection logic and initialize selected column based on current sort

* fix: change key binding for sorting selected column from Ctrl+O to Shift+S

* test: update expected hints count in help, namespace, pod, and PVC tests
2025-11-16 08:49:29 -07:00
SebPlv 2bf2f481ef
fix #3601 - fails to modify or delete namespaces using RBAC (#3671) 2025-11-12 09:22:13 -07:00
Fernand Galiana 3c37ca2197
Rel v0.50.16 (#3633)
* fix #3620 - bomb on show yaml

* fix #3595 - namespace warp

* fix #3608 - klog logger

* fix #3621 #3576

* fix #3629 - bump scanner deps

* rel notes
2025-10-19 09:06:48 -06:00
derailed b53f3091ca [hot-fix] revert enter cmd 2025-10-07 07:17:22 -06:00
Fernand Galiana 73fa008736
Rel v0.50.14 (#3609)
* fix #3591 #3608 suggestions enter accept

* fix#3606-xray busted

* fix#3594-yaml busted

* rel notes
2025-10-06 17:57:12 -06:00
henry 2daec83d60
fix: do not error out of shellIn if OS detection fails, and default platform on linux (#3600) 2025-10-05 08:09:25 -06:00
Maico Timmerman c07aa2a5f4
browser: do not prevent redraw when connection unavailable (#3605)
Co-authored-by: maico <maico.timmerman@adyen.com>
2025-10-05 07:54:13 -06:00
Fernand Galiana 1d8cb6ced0
Rel v0.50.13 (#3592)
* fix #3587 - dp restart

* fix #3585 - sec abreviation

* fix #3583 - exec without node read

* fix #3574 - label filter path

* fix #3584 - managed fields

* fix #3577 - pod logs

* rel notes
2025-09-27 09:16:36 -06:00
Fernand Galiana 09c1c07950
Rel v0.50.12 (#3572)
* fix #3570 - broken display when no resources

* fix #3547 - surface error

* fix #3562 - rbac del ns

* rel notes
2025-09-19 08:36:53 -06:00
Fernand Galiana 5c5fcba6d8
Rel v0.50.11 (#3569)
* fix #3567 #3566

* release notes
2025-09-18 09:33:35 -06:00
Fernand Galiana 4f5c1a1105
Rel v0.50.10 (#3564)
* fix #3455

* Clean up and refactor

* fix #3495 #3470 #3455 - fix cmd alias and filters

* fix #3535 - revert

* fix #3478 - make vulscan a bit less cpu extensive (init stab...)

* fix issue with plugin foreground exit

* fix#3466-add shared gpu on nodes

* fix #3541 - use default namespace when not specified

* update deps + release notes
2025-09-17 16:49:58 -06:00
Alex Cantu 40cf6a151f
feat: Add context deletion functionality (#3489)
* Add delete functionality for Kubernetes contexts

This adds the ability to delete Kubernetes contexts using the 'd' key in the context view. The implementation includes:
- New delete command bound to 'd' key
- Confirmation dialog before deletion
- Error handling and UI refresh after deletion

* Refactor context delete dialog to use standard dialog component

- Replace custom delete confirmation with dialog.ShowConfirm
- Add read-only mode checks for rename and delete commands
- Change delete keybinding from 'd' to 'Ctrl+d'
- Remove unused deletePage constant and related functions
- Simplify delete callback logic

* Refactor context view key bindings to separate dangerous operations

* Fix linting error
2025-09-01 16:38:26 -06: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 41eeb5cc24
fix: reset first view counter on browser start and skip warning during initialization (#3515) 2025-08-20 08:51:04 -06:00
Ümüt Özalp 67a637f7be
fix: update SuggestSubCommand to pass command context for suggestions (#3516) 2025-08-20 08:46:50 -06:00
derailed ffdc7b70f0 [hot-fix] fix tests 2025-07-19 09:27:46 -06:00
derailed e80153c9d4 fix #3463 - broke aliases 2025-07-19 08:39:18 -06:00
yingshanghuangqiao 6d756d593d
chore: make function comment match function name (#3408)
Signed-off-by: yingshanghuangqiao <yingshanghuangqiao@foxmail.com>
2025-07-16 08:17:10 -06:00
Fernand Galiana c2f1316680
Rel v0.50.9 (#3461)
* fix #3458

* cleanup

* rel notes
2025-07-15 23:02:41 -06:00
Fernand Galiana 855e995b3a
Rel v0.50.8 (#3457)
* revert ns cmd

* fix#3421-helm-view-ns

* fix#3439-add-vendor-config

* fix#3453-add-gpu-cols

* rel notes
2025-07-15 08:38:28 -06:00
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
jfremy-openai f957fd6739
fetchContainers(allContainers=false) returns sidecars and ephemeral (#3415)
Issue: when calling exec / attach on a pod with sidecar containers or ephemeral containers, those are not presented as potential targets to exec / attach / transfer.

Proposed solution: the method fetchContainers is only called with allContainers=false to find containers we can exec / attach / transfer.
Both ephemeral containers and sidecar init containers could be used in this case however with the current behavior they're not shown.

I'm proposing to change the behavior of the method to return any sidecar container and ephemeral container when called with allContainers=false since there is no other caller using that parameter set to false, so we won't break other call sites
2025-06-28 08:54:26 -06:00
Fernand Galiana ccebaa604e
Rel v0.50.5 (#3332)
* update pulse view

* fix #3301 - pf delete msg

* clean

* short header styles

* fix #3294 event time cols sorting

* fix #3309 label selector fault

* multi arch build

* fix #3328 init co count

* rel notes
2025-05-07 23:22:01 -06:00
Rudrakh Panigrahi 577a2fb7cc
show replicasets from deployment view (#3308)
Signed-off-by: Rudrakh Panigrahi <rudrakh97@gmail.com>
2025-05-01 05:28: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
tscuite 445230640a
feat: add hostPathVolume (docker) (#3277) 2025-04-19 09:27:05 -06:00
Fernand Galiana 594c2c6e4c
Rel v0.50.3 (#3276)
* update linter

* spring cleaning

- m'o code cleanup
- small bugs fixin

* fix cust col jq parser support

* add context,token to shell args

* rel notes
2025-04-13 18:25:04 -06:00
Sunggun Yu 630f82cacd
fix: include APIResource name in the aliases (#3274)
- fix: https://github.com/derailed/k9s/issues/3273
2025-04-13 09:08:10 -06:00
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