Commit Graph

28 Commits (0d7678babc565be8df80bc0a1ab7c8dc9a148deb)

Author SHA1 Message Date
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