alingse
287adc3a6a
fix check e != nil but return a nil value error err ( #3038 )
...
the err has been checked in line 199
2025-01-12 08:28:03 -07:00
Lars Sjöström
c2f0962cfc
feat: support portforwarding over websocket ( #2894 )
...
* feat: support portforwarding over websocket
* replicating kubectl implementation
* update readme
2024-11-22 11:00:39 -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
Jonas Badstübner
4c4381b834
feat(dao,used-by-cmd): check imagePullSecrets as well ( #2964 )
2024-11-16 10:20:19 -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
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
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
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
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
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
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
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
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
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
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
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
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
e113f4b7c5
get node filtering params from matching context values ( #2375 )
2023-12-24 22:48:59 -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
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
Alexandru Placinta
38275b25ea
Allow both .yaml and .yml yaml config files ( #2284 )
2023-11-26 07:45:03 -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
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
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
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
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
Mike
13c25dd000
fix(log): clear bold log format after timestamp ( #2229 )
2023-10-04 08:28:16 -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
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
SammyA
6db13eaa99
Fix for missing Job annotations created from CronJob ( #2073 )
2023-05-07 08:00:29 -06:00
Fernand Galiana
7c76691c38
Release v0.27.3 ( #1970 )
...
- [Issue #1968 ](https://github.com/derailed/k9s/issues/1968 ) Some skins are missing the definitions for the help menu
- [Issue #1967 ](https://github.com/derailed/k9s/issues/1967 ) Helm cve-2023-25165
- [Issue #1964 ](https://github.com/derailed/k9s/issues/1964 ) logger.sinceSeconds config setting inconsistent with README
- [Issue #1955 ](https://github.com/derailed/k9s/issues/1955 ) K9s crashes with empty resources and/or verbs in RBAC
- [Issue #1954 ](https://github.com/derailed/k9s/issues/1954 ) Open very slow
- [Issue #1883 ](https://github.com/derailed/k9s/issues/1883 ) Fix force deletion
- [Issue #1788 ](https://github.com/derailed/k9s/issues/1788 ) Draining nodes cannot be forced
- [Issue #1150 ](https://github.com/derailed/k9s/issues/1150 ) Add a persistent popup for drain failures
2023-02-12 08:12:25 -07:00
Fernand Galiana
d5c9cf5ed5
release v0.27.1 ( #1945 )
2023-01-31 08:09:53 -07:00
Fernand Galiana
b5a7cfb3af
K9s/rel v0.27.0 ( #1932 )
...
* fix #1661 #1680
* rev k8s + cleanup
* release v0.27.0
2023-01-26 11:07:43 -07:00
Dan Ramich
3f280ca133
Update ScanSA calls to account for blank service accounts ( #1871 )
...
The original check in ScanSA assumed the service account on the pod spec
was not blank. It can be blank and when it is kubernetes will default
to using the 'default' service account. This change extends the check
logic to also include that.
2022-12-03 07:12:27 -07:00
Eugene Berger
b9a9fb118d
bugfix for port forward custom containers not showing #1844 ( #1877 )
...
* bugfix for port forward costum containers not showing
#1844
* Adjust the port forward test key structure
Co-authored-by: Eugene <eugene.berger@dell.com>
2022-11-29 08:54:51 -07:00