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
Jonas Badstübner
4c4381b834
feat(dao,used-by-cmd): check imagePullSecrets as well ( #2964 )
2024-11-16 10:20:19 -07:00
Eric Bitencourt de Santana
92ff64eac3
Feature: add pod last restart column to pod section ( #2946 )
...
* feat: create ToRestartAge helper function to calculate last restart age
* feat: add Last Restart column to pod view
* test: add TestPodLastRestart to pod tests
* test: add TestToRestartAge tests
* test: fix all initial row states on table tests
* chore: remove TestToRestartAge changes
* refactor: move LastRestart pod function to internal function
* refactor: update to new go 1.22 range over map syntax
2024-11-14 08:56:52 -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
Daniel Gomes-Sebastiao
59918d0e89
feat: add irregular pod terminations to Faults view ( #2738 ) ( #2935 )
2024-11-03 08:56:43 -07:00
ffais
be1ec87840
feat: added StartupProbes status (S) to the PROBES column in the container render ( #2920 )
...
* feat: added StartupProbes status (S) to the PROBES column in the container render
Signed-off-by: ffais <ffais@fbk.eu>
* fix: fix tests in container render
Signed-off-by: ffais <ffais@fbk.eu>
---------
Signed-off-by: ffais <ffais@fbk.eu>
2024-10-17 10:54:57 -06:00
Eric Bissonnette
8a16b57c09
Include sidecar containers requests and limits ( #2848 )
...
* include sidecar container metrics
* apply code review suggestions
2024-10-13 08:06:52 -06:00
linchizhen
2492402ba3
chore: fix function name ( #2861 )
...
Signed-off-by: linchizhen <jiayanbing@yeah.net>
2024-09-22 09:56:55 -06:00
Ruslan Timofieiev
4a9f4c3153
Fix Mark-Range command: ensure that NS Favorite doesn't exceed the limit ( #2881 )
...
* ensure that number of favorite namespace is never exceeds hard limit
* remove newlines from files
2024-09-14 12:40:45 -06:00
Eric Bissonnette
8601560185
fix internal/render/hpa.go merge issue ( #2856 )
2024-08-28 09:26:27 -06:00
Arthur Coelho
61ea437574
Add color to hpa line when replicas >= maxpods ( #2333 )
...
* feat: paint hpa line when replicas >= maxpods
* chore: add license headers
* refactor: decrease Assignment Branch Condition
* validate IndexOf returns a valid index
2024-08-26 09:08:31 -06:00
Ümüt Özalp
88394a4cc2
Add leading space to Kubernetes context suggestions ( #2791 )
2024-08-18 09:23:56 -06:00
Jayson Wang
66f57bebbc
container logs should be escaped when printed ( #2751 )
...
* container logs should be escaped when printed
* reduce additional memory allocation
* upgrade deps and move escape to tview
2024-08-16 10:44:28 -06:00
Thorben Below
2a931b84ab
Fix: ensure correct ns for helm actions ( #2652 )
...
Signed-off-by: Thorben Below <56894536+thorbenbelow@users.noreply.github.com>
2024-08-16 10:15:44 -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
Chris Werner Rau
b3fbf32522
feat: allow plugins block in plugin files ( #2770 )
2024-08-15 18:01:20 -06:00
Jayson Wang
350439b985
proper handle OwnerReference for manually created job ( #2772 )
2024-07-07 08:32:59 -06:00
Prasad Katti
626bde11f3
fix status for completed pods in workload view ( #2729 )
2024-06-16 09:46:34 -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
Prasad Katti
c4ff75c81a
use policy/v1 instead of policy/v1beta1 ( #2732 )
2024-06-08 09:39:29 -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
KasperHeyndrickx
2fca1a1655
fix: job color based on failures ( #2686 ) ( #2698 )
...
* fix: job color based on failures (#2686 )
* fix: don't show error when job succeeds in next attempt
2024-05-18 08:49:20 -06:00
Jayson Wang
a0ffa8f392
save config when closing k9s with ctrl-c ( #2666 )
2024-05-03 07:31:35 -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
crazehang
5fdaa6cdd3
chore: remove the repetitive word ( #2650 )
...
Signed-off-by: crazehang <zhangrenzhong@outlook.com>
2024-04-20 11:52:06 -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
Joshua Sizer
c1180730b9
fix: match node label kubernetes.io/role as suffix ( #2606 )
2024-03-17 09:07:01 -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
derailed
394fec3453
blee1
2024-03-05 17:53:10 -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
Marcus Noble
d06ab6407b
Correctly respect the KUBECACHEDIR env var ( #2551 )
...
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2024-02-21 17:54:25 -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
Łukasz Tomaszkiewicz
8e7b99750d
fix: issue 2175 - fallback to env names when cannot get username from user.Current() ( #2505 )
2024-02-15 10:17:37 -07:00
doy-materialize
b55c094f93
fix the --write flag ( #2531 )
...
--write sets k.manualReadOnly to false, but this was previously setting the read only state to true if k.manualReadOnly was set at all
2024-02-15 10:13:52 -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
cd5522cd35
Fix Toggle Faults filtering ( #2509 )
...
* Added valid column to workloads for toast filtering
* Removed redundant status func call, changed workload header order
2024-02-03 08:03:00 -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
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
Guanchzhou
5445ff4da1
Adding system arch to nodes view ( #2480 )
...
* adding arch to nodes view
* hiding arch under wide view and fix test
* fixing tests
---------
Co-authored-by: Andrei Maltsev <amaltsev@alpha-sense.com>
2024-01-17 07:36:25 -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
Zadkiel Aharonian
942e61a90f
fix: add missing shellpod config in schema ( #2451 )
...
Signed-off-by: GitHub <noreply@github.com>
2024-01-10 13:18:56 -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
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
98a7f3f1d6
K9s/release v0.31.1 ( #2443 )
...
* [Bug] Fix #2428
* [Bug] Ensures primordials configs are gen/saved if not present
* v0.31.1 release notes
2024-01-08 23:38:18 -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
Joshua Ward
d63fe83edb
chore: rebasing off main and resolving conflicts ( #2314 )
...
Co-authored-by: Joshua Ward <joshua.l.ward@leidos.com>
2024-01-03 23:38:37 -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
Jayson Wang
1c19ef6ad6
fix the check for whether the cluster supports metrics ( #2424 )
2024-01-03 08:26:22 -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
Nicolas Karolak
f5f3278e17
fix: create user tmp directory before the app one ( #2395 )
...
Otherwise on a shared machine, the `/tmp/k9s` directory will be owned by
the first user to lanch `k9s` command. The other users will get a
"permission denied" error.
2023-12-27 16:51:03 -07:00
Nicolas Karolak
736f6bfaa5
feat: allow to customize logs dir through environment variable ( #2396 )
...
Allow to customize log directory through `K9S_LOGS_DIR` environment variable.
If not set, fallsback on default tmp directory.
Fixes #2394
2023-12-27 16:00:09 -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
00d16beedb
fix #2382 ( #2386 )
2023-12-25 18:25:53 -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
1efadc81a6
K9s/release v0.30.2 ( #2376 )
...
* fix #2370
* Fix #2362
* K9s V0.30.2 release docs
2023-12-24 22:57:48 -07:00
Jayson Wang
e113f4b7c5
get node filtering params from matching context values ( #2375 )
2023-12-24 22:48:59 -07:00
Jayson Wang
defad7a174
fix cmdline flags not working ( #2373 )
2023-12-24 22:15:27 -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
104bf96415
passing on the correct suggestion parameters ( #2343 )
2023-12-13 15:24:07 -07:00
Jayson Wang
f6dfc3721a
adding a default value for the AGE field ( #2320 )
...
* adding a default value for the AGE field
* use NAValue as a fallback value
2023-12-08 20:07:28 -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
derailed
a13412a6d9
[HotFix] Fix issues #2330 #2329 #2327
2023-12-07 09:58:11 -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
Alexandru Placinta
38275b25ea
Allow both .yaml and .yml yaml config files ( #2284 )
2023-11-26 07:45:03 -07:00
Jayson Wang
ac8395dded
chore: use k8s.io/kubernetes as a dependency is unsupported and not recommended ( #2310 )
2023-11-24 08:28:51 -07:00
Jayson Wang
3fc80f1005
should not be clear screen when exeuting plugin ( #2313 )
2023-11-24 08:21:56 -07:00
ClementLachaussee
2d8fb99993
feat: add imagePullSecrets and imagePullPolicy configuration for shellpod ( #2301 )
...
* feat: add imagePullSecrets and imagePullPolicy in shell_pod for internal registry use cases
* docs: add imagePullPolicy and imagePullSecrets configuration example
* docs: remove comments
* docs: use same wording
* docs: remove useless phrase
* fix: truncated comment
* fix: use correct type, remove useless if
* add: ImagePullPolicy on container variable
---------
Co-authored-by: clementlachaussee <clement_lachaussee@ext.carrefour.com>
2023-11-21 13:03:27 -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
Chris Werner Rau
1bfd824ab4
feat: allow for multiple plugin files in $XDG_DATA_DIRS/k9s/plugins ( #2029 )
2023-11-12 11:35:46 -07:00
Fernand Galiana
32b9493a0d
Clean up issues introduced by #2125 ( #2289 )
2023-11-12 11:33:01 -07:00
Alexandru Placinta
344990e096
Pod view resembles more the output of kubectl get pods -o wide ( #2125 )
2023-11-12 11:08:16 -07:00
Jayson Wang
46a1ed0cf1
storageclasses view keeps the same output as kubectl get sc ( #2132 )
...
* storageclasses view keeps the same output as kubectl get sc
* fix sc test
* rollback labels and valid field and add test case
2023-11-12 11:00:35 -07:00
Fernand Galiana
7ece543681
Fix merge issues with PR #2168 ( #2288 )
2023-11-12 10:59:09 -07:00
Alexandru Placinta
5a8dc2d4b3
Add colour config for container picker ( #2140 )
2023-11-12 10:52:10 -07:00
Nick Mills-Barrett
9d804c6c17
Add env var to disable node pod counts ( #2168 )
...
* Add env var to disable node pod counts
* Move disabling pod counting to config
* Correct alias context function name
2023-11-12 10:32:02 -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
MrLuje
a2a7544a6f
fix: trigger a single log refresh after changing 'since' ( #2202 )
2023-11-12 10:07:46 -07:00
Clément Loiselet
24e244ca82
fix( #1359 ): add option to keep missing clusters in config ( #2213 )
...
Co-authored-by: Clément Loiselet <clement.loiselet@cbp-group.com>
2023-11-12 09:42:50 -07:00
derailed
eb7460e8d8
restore delete shortcut
2023-11-11 23:16:14 -07:00
Jayson Wang
7af4b2d890
try to get the os name form the pod assigned node ( #2282 )
...
* get the os name from the node when needed
* code quality
* remove err sentinel
---------
Co-authored-by: Fernand Galiana <fernand.galiana@gmail.com>
2023-11-11 18:51:46 -07:00
Fernand Galiana
5540b5a825
Add sanitize command ( #2286 )
...
- Sanitize provides for clearing out pods in either completed/failed
state #2277
2023-11-11 10:33:33 -07:00
Alexandru Placinta
19952cd282
Delete port forwards when pods get deleted or killed ( #2247 )
2023-11-10 17:51:26 -07:00
Alexandru Placinta
a3155d015d
Add prompt border color customization ( #2234 )
2023-11-10 08:54:40 -07:00
Jayson Wang
893f15f802
check if the Node already cordoned when executing Drain ( #2275 )
...
* check if the Node already cordoned when executing Drain
* ensure node cordoned
2023-11-09 17:15:20 -07:00
Eng Zer Jun
458517fc14
chore: replace `github.com/ghodss/yaml` with `sigs.k8s.io/yaml` ( #2280 )
...
At the time of making this commit, the package `github.com/ghodss/yaml`
is no longer actively maintained.
`sigs.k8s.io/yaml` is a permanent fork of `ghodss/yaml` and is actively
maintained by Kubernetes SIG.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-11-09 17:10:42 -07:00
Artem Gorbatiuk
a34d7ae6bf
feat: add autoRefresh config field ( #2256 ) ( #2257 )
...
* feat: add autoRefresh config field
Add autoRefresh: true to config test scenarios
Update all instances of NewLiveView() to pass autoRefresh config value to LiveView
* fix: rename generic autoRefresh config field to liveViewAutoRefresh
* docs: document liveViewAutoRefresh config field
* fix: use app config for NewLiveView creation
---------
Co-authored-by: Artem Gorbatiuk <wfrced@gmail.com>
2023-11-08 12:45:22 -07:00
Jayson Wang
68afb3d9ef
return the correct benchamrk path ( #2272 )
2023-11-08 08:37:16 -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
Jayson Wang
a8615d9f19
fix manual sorting not working when sortColumn is configured ( #2253 )
...
* fix manual sorting not working when sortColumn is configured
* using manualSort to indicate has modified the sort col
* make user changes to the sortColumn take effect
2023-11-05 07:50:45 -07:00
Jayson Wang
09719eb16b
fix fsnotify not fully working ( #2258 )
2023-10-29 13:32:41 -06:00
Jayson Wang
b2be433637
consider units when sorting capacity ( #2252 )
2023-10-18 10:19:05 -06:00
Felipe Galindo Sanchez
e906fa606f
fix: honor defaults from drain dialog in request ( #2239 )
...
* fix: honor defaults from dialog into request
* reuse options/defaults from arg
* fix additional references for defaults
2023-10-12 11:27:56 -06:00
yinheli
67b5da1732
fix(typo): pdb header typo ( #2243 )
2023-10-12 08:22:57 -06:00
Mike
13c25dd000
fix(log): clear bold log format after timestamp ( #2229 )
2023-10-04 08:28:16 -06:00
Kyle Huggins
12b1d28c9d
feat(alias): add `qa` for quit ( #2188 )
...
This adds an additional alias for "quit". `qa` is muscle memory for
vimmers, and fits in well alongside `q` and `q!`.
Resolves #856
2023-08-05 08:44:37 -06: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
Felix Geyer
062e7ef439
Show the default container as the first entry ( #2158 )
...
* Switch to new default-container pod annotation
kubectl.kubernetes.io/default-logs-container has been deprecated and
removed in kubectl, see
3a9c6f2a2f
* Show the default container as the first entry
In container selections show the default container as the first entry of
the list.
2023-07-26 12:46:35 -06:00
Thomas Dy
55c1905eb1
Only apply keyConv to mnemonic in menus ( #2161 )
...
This fixes an issue where namespaces with "alt" in the name get replaced
by "opt" when running on macOS.
2023-07-26 12:40:03 -06:00
Vlad Fratila
f42f19bbce
Add namespace for rolebinding on a clusterrole ( #2170 )
...
* add namespace for rolebinding on a clusterrole
Signed-off-by: Vlad Fratila <vlad.fratila@gmail.com>
* remove unused function
Signed-off-by: Vlad Fratila <vlad.fratila@gmail.com>
---------
Signed-off-by: Vlad Fratila <vlad.fratila@gmail.com>
2023-07-26 12:39:37 -06:00
guangwu
2d2746af3c
chore: pkg imported more than once ( #2151 )
2023-07-12 08:04:12 -06:00
Jayson Wang
dc06addd27
Remove unsupported key binding on users view ( #2134 )
2023-06-18 08:02:52 -06:00
Jayson Wang
957f70f775
Correctly display the numbers in the Ready column of the pods view ( #2137 )
2023-06-18 07:48:33 -06:00
Станислав
5a0a8f12e4
Fix for styles ( #2112 )
...
* Show correct error when loading skins.
* Fix wrong color reference for dracula theme
2023-06-14 08:02:27 -06:00
Daniel Vedsmand
25a99d3f3a
fix: add correct flags when deleting resources from Dir ( #2124 )
2023-06-14 07:59:20 -06:00
Jayson Wang
d383788859
Fix the wrong/redundant icon in the prompt bar ( #2105 )
2023-05-28 07:02:17 -06:00
tyzbit
91cac5e979
fix: (config) only respect the --command flag once ( #2096 )
...
We want to switch to the command specified by the flag, but only at startup.
Afterwards, we should be interactive and favor the user's command choices over the startup commandline switch.
2023-05-21 09:06:37 -06:00
Fernand Galiana
f4543e9bd2
Rel v0.27.4 ( #2075 )
...
* Update dependencies
* Update k9s skins
* Update release docs
2023-05-07 10:54:29 -06:00
Mike
465c947517
feat: allow customization of log indicator toggles closes #2024 ( #2041 )
2023-05-07 08:18:10 -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
SammyA
6db13eaa99
Fix for missing Job annotations created from CronJob ( #2073 )
2023-05-07 08:00:29 -06:00
Alexandru Placinta
8b51950c25
Roles are rendered using same colorer function from skin ( #2027 )
2023-04-13 08:03:35 -06:00
R0CKSTAR
a516775a81
Convert command to lowercase in the command palette ( #1432 )
2023-03-17 09:37:26 -06:00
Cason Adams
f41c22bce2
Allowing a few hard coded colors to be configurable ( #1405 )
...
* making some hard coded colors configurable via skins
* more flexible colors for logo messages
* correct color formatting per MR comments
* no need to convert to String
---------
Co-authored-by: Cason Adams <cadams@roku.com>
2023-03-17 09:30:32 -06:00
Mohamed Messaad
a5be038c99
fix: multiple matches in a single line. ( #1876 )
2023-03-17 09:26:10 -06:00
Jacob Lorenzen
c851277e33
feat: add support for renaming contexts. ( #2006 )
...
* feat: add support for renaming contexts.
* chore: try to reduce ABC
* test: account for the `rename` hint
2023-03-17 09:11:09 -06:00
croustiPoulet
2955e2251f
Fix accessing nil map ( #1996 )
...
Co-authored-by: julien.demais.e <julien.demais.e@thalesdigital.io>
2023-03-16 23:02:47 -06:00
Niko Janceski
ab9f960788
Sort by view default only if sort not currently set ( #1962 )
2023-03-16 14:27:44 -06:00
Aleksei Romanenko
4d42a900cc
Fix #2007 : Remove debug command ( #2011 )
...
Co-authored-by: Aleksei Romanenko <alex.romanenko@linkup.com>
2023-03-16 13:37:09 -06:00