Commit Graph

34 Commits (f2f4077b592dcbb4162cbfe07bd99546d47d9955)

Author SHA1 Message Date
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 a543f47319
K9s/release v0.31.6 (#2487)
* [Bug] Fix #2476

* rel v0.31.6
2024-01-17 23:52:48 -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
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
Fernand Galiana 702f6f01b2
Clean up items... (#2303)
* Update licence header

* Add linter workflow

* Add pkg builds
2023-11-19 08:43:39 -07:00
SammyA 6db13eaa99
Fix for missing Job annotations created from CronJob (#2073) 2023-05-07 08:00:29 -06: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
Samuel Demirdjian e2b21c0133
Fix order of arguments for `CanI` function call (#1866)
When checking permissions to (un)suspend cronjobs, a user will always be
considered as unauthorized, because of the wrong arguments order when
calling the `CanI` function.

For `CanI` definition, see:
2f72441bac/internal/client/client.go (L138)
```
func (a *APIClient) CanI(ns, gvr string, verbs []string) (auth bool, err error)
```
2022-11-15 23:06:31 -07:00
Fernand Galiana 37569b8772
K9s/rel v0.26.7 (#1816)
* update batch resource api and remove unused ingress render

* docs update: add rel notes + update release version
2022-10-18 09:01:20 -06:00
SammyA 8d40c60339
Update CronJob version to v1 (#1793)
* Update CronJob version to v1 (from v1beta1, unavaliable from 1.25 onwards).

* Try both batch/v1beta1 (for legacy) and batch/v1

* Revert previous commit. Use c.GVR() to find the correct version. Make
cronjob (un)suspend version aware.

* Simply changes by dropping support for deprecated batch/v1beta1 version
2022-10-18 06:30:47 -06:00
Aleksei Romanenko c6ad80126e
Show UsedBy for PriorityClasses (#1666)
Co-authored-by: Aleksei Romanenko <alex.romanenko@linkup.com>
2022-07-30 06:47:51 -06:00
Fernand Galiana b6feb10388
K9s/rel v0.26.0 (#1660)
* additional tests + cleanup

* release v0.26.0
2022-07-17 09:28:59 -06:00
Fernand Galiana 003ae042fb
fix #1182 #1167 (#1183) 2021-07-01 08:12:09 -06:00
Fernand Galiana a35155415e
fix cron triggers (#1171) 2021-06-29 08:25:04 -06:00
derailed 9b498196f9 fix #1163 #1153 #1151 #1140 #1137 #1132 #1131 2021-06-27 23:22:13 -06:00
Fernand Galiana 561a0c1f41
K8s update (#1041)
* rev k8s

* add rel notes

* checkpoint

* add helm

* cleaning up

* cleaning up

* rel notes

* check deps

* rev apis + bugs

* cleanup cronjob view

* update rel notes

* clean up + docs
2021-03-19 09:20:05 -06:00
Ludovico Russo b29e368cb4
add toogle suspend actions in CronJob (#1010)
add toggleSuspend action and remove separate suspend/unsuspend

Allow to toggleSuspend on one resource only and update text

fix showSuspendDialog

Co-authored-by: Ludovico Russo <ludovico.russo@redcarbon.ai>
2021-03-19 07:03:09 -06:00
Steffen Krause 65546ada14 Correction of CronJob APIVersion 2021-01-07 21:41:25 -05:00
derailed 3d4726d726 maintenance drop for v0.21.8 2020-09-10 14:36:00 -06:00
derailed 21f0cb1b15 fix issue #819 #818 #797 2020-07-23 18:42:51 -06:00
derailed f1111174aa add pf indicator 2020-06-29 18:47:02 -06:00
derailed e1a5dd510f fix issue #752 #677 2020-06-03 14:50:58 -06:00
derailed 3cfc4e860c cleaning up 2020-05-28 14:02:43 -06:00
derailed 80176609db switch to context view if cluster is unreachable 2020-05-28 13:42:02 -06:00
derailed 678143e2a3 add resource ref support for sec, sa and cm 2020-05-27 21:23:02 -06:00
derailed bf2847bea7 checkpoint 2020-03-28 18:27:17 -06:00
derailed a96fa843b5 checkpoint 2020-01-22 10:23:59 -07:00
derailed 8af75df9f8 perf + cleanup 2020-01-08 15:43:48 -07:00
derailed 4f05dc9cbf checkpoint 2020-01-04 14:05:41 -07:00
derailed aab46f6aad fix for #452 2020-01-01 23:00:22 -07:00
derailed b950546b88 implement rbac policy checks + fix #457 2020-01-01 14:29:49 -07:00
derailed b536767a1f cleaning up 2019-12-30 14:01:58 -07:00
derailed 6839578a8c checkpoint 2019-12-14 12:12:18 -07:00
derailed e293e1af90 checkpoint 2019-12-13 20:10:03 -07:00