Commit Graph

784 Commits (ba84123d8ee7657cd2e81f5e257b00eec7d15df4)

Author SHA1 Message Date
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
Ruben Rodriguez ff4bfe1162
Add labels configuration to Shell node pod (#1847)
* Add labels config to shell node pod spec

* Add labels to config tests
2022-12-03 12:42:56 -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
Mohamed Messaad 530d067110
feat: add noLatestRevCheck config option (#1874)
* feat: add noLatestRevCheck flag to configure whether k9s should fetch the latest rev from the Github repo.

* refactor: rename "noLatestRevCheck" to more appropriate "skipLatestRevCheck"
2022-11-29 08:52:33 -07:00
Dan Ramich f552ffd72b
Add policy view to serviceAccounts (#1840)
Add the same policy view to ServiceAccounts as users/groups.
This also works under the xray view. This commit also fixes the
issue with role/rolebindings not having the same name not showing
up in Policy view.
2022-11-15 23:11:30 -07:00
Audun V. Nes c353534855
Add VIM-like quit force option. (#1859)
Signed-off-by: Audun Nes <audun.nes@gmail.com>

Signed-off-by: Audun Nes <audun.nes@gmail.com>
2022-11-15 23:06:55 -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
Dan Ramich ca29473238
Bump all references of github.com/cenkalti/backoff to v4 (#1821) 2022-10-30 07:41:17 -06: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
Grzegorz Burzyński 0cefb3ec12
Allow multiple port forwards for a single Pod (#1804) 2022-10-18 06:47:34 -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
derailed 013dcaa9ec resolve conflict 2022-09-26 19:29:27 -06:00
derailed 39a55231fa fix #1773 2022-09-26 19:27:43 -06:00
fredericvl d0f4fa5b90
Fix directory path when viewing ScreenDump (#1777)
* Fix path when viewing ScreenDump

* Log save should use `CurrentCluster` iso `CurrentContext`

* Remove sanitizing of dir in ScreenDump dao

* Switch `CurrentCluster` to `CurrentContext` for SD

* Revert log saving to `CurrentContext`

* Save tables to `CurrentContext` iso `CurrentCluster`
2022-09-26 14:32:41 -06:00
Richard Hull cc52c71c52
Log toggles: add a space after "On" in logs view (#1775)
Toggling any of the log commands on and off causes the log indicator to
dance around - I assume this is because the line is centered, and when
on it is N characters long, when off N+1 characters, and so on
centering, the x-offset gets rounded.

This commit just adds an extra space after each "On" string so that
it occupies the same width as the "Off" string ... and the when
furiously toggling, the line remains blissfully static.
2022-09-25 08:37:29 -06:00
Richard Hull 489b841295
Add a closing tag when showing timestamp in log view (#1776) 2022-09-25 08:35:29 -06:00
Fernand Galiana c35949189f
release v0.26.5 (#1771) 2022-09-22 09:19:09 -06:00
derailed 234fb5c91d clean up test 2022-09-21 14:31:02 -06:00
Fernand Galiana 412b064439
K9s/rel v0.26.4 (#1767)
* release v0.26.4

* update deps

* update docs

* fix merge

* update gha
2022-09-21 14:28:21 -06:00
Takumi Sue 6c9d06a2a0
Replace clipboard package (#868) (#1721)
* Replace clipboard package

Fixes #868

* Raise error when clipboard.Write fails

* Call clipboard.Write when Init successes

* Flash error rather than panic

* Refactor copying into clipboard

* Refactor cpCmd to remove wrappers

* Use clipboardWrite instead of cpCmd
2022-09-21 13:27:42 -06:00
Anthony bd677cc01b
List all helm releases (#1755)
On second thought, I'll accept your PR and will update the code to use `all` as I am getting ready for a new drop and would like to include your changes. Thanks Anthony!
2022-09-21 13:26:33 -06:00
Phil Kates 403cc63ddd
Fix GracePeriodSeconds (#1739)
`var x int64` means the value is 0 rather than the intended nil
(default).

`Delete` doesn't provide a way to configure the grace period anyway so
remove the variable and only override on a `force`

Co-authored-by: Phil Kates <phil.kates@cartacapitalmarkets.com>
2022-09-18 08:09:16 -06:00
muicoder cab718387c
Fix Get CustomResourceDefinition(#1711) (#1722)
* Fix  Get CustomResourceDefinition(#1711)

* Update crd_test.go
2022-09-18 07:11:59 -06:00
Maurizio Pasquinelli 6342ee537d
Fix typo in cronjob (#1759) 2022-09-17 07:42:47 -06:00
이태형 7f9f3ce04c
fix redundant type conversion code (#1725)
Co-authored-by: rolancia <rolancia.com@gmail.com> Good catch!! Thank you @rolancia!!
2022-08-27 09:11:05 +02:00
Fernand Galiana e309c28d26
K9s/rel v0.26.1 (#1685)
* fix #1661 #1680

* cleaning up

* add rel notes
2022-08-02 13:22:16 -06:00
Tuan Anh Pham c0c62e7826
Fix persistentvolumes not showing terminating status (#1682)
@anhpngt Doh!! indeed... Thank you for the fix Tuan! I see what's happening with the renderer. Will fix in the next drop...
2022-08-01 15:28:52 -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
Ben Blackmore 6e398ed6fb
feat: allow disable CTRL-C behavior (#1672)
Fixes #1599
2022-07-26 07:54:46 -06:00
Aleksei Romanenko 6dec26f9cc
Fix PF delete with no container (#1668)
* Fix PF delete with no container

* Fix PF delete with no container

Co-authored-by: Aleksei Romanenko <alex.romanenko@linkup.com>
2022-07-20 15:24:56 -06:00
derailed ee07b98755 cleaning up deprecation 2022-07-17 09:56:16 -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
Aleksei Romanenko d9629dd537
Fix PF and RS colors (#1656)
Co-authored-by: Aleksei Romanenko <alex.romanenko@linkup.com>
2022-07-16 08:35:50 -06:00
Aleksei Romanenko 56c898fcb0
Fix #1636: can't switch context with --kubeconfig flag (#1638)
Co-authored-by: Aleksei Romanenko <alex.romanenko@linkup.com>
2022-07-07 08:25:59 -06:00
Fernand Galiana 66c22f1c6f
K9s rel v0.25.21 (#1635)
* additional tests + cleanup

* update docs

* update docs
2022-06-30 12:03:33 -06:00
Christian Provenzano 7c5ba99cc1
Fix delete dialog dropdown styling (#1632)
* Fix delete dialog dropdown styling

Update tview to allow dropdown styling

* Update tview
2022-06-30 11:22:54 -06:00
Bryan A. S 2deec5c2b9
Fix TestToAge (#1627) 2022-06-29 13:47:33 -06:00
Fernand Galiana 373fd4587b
K9s release v0.25.20 (#1621)
* release v0.25.20

* fix rel notes
2022-06-28 09:29:30 -06:00
Fernand Galiana bb5ba1306d
K9s release v0.25.19 (#1610)
* release v0.25.19

* update deps revs
2022-06-27 19:20:22 -06:00
Gabriel Simmer 842c7d2d0f
Capitalise true/false when checking suspension (#1601) 2022-06-27 18:00:25 -06:00
Christian Provenzano 8e8f874b1e
Allow all deletion propagation policies (#1553)
* Allow all deletion propagation policies

* Add "none" deletion propagation policy
2022-05-26 07:48:00 -06:00
Joshua Ward 1c29fcaf61
Add Helm values support (#1518)
* working get values and get all valeus

* less verbose variable naming

* addressing comments and refactored to have a single view that has toggleable values

* better returns and logging

* returning event instead of nil

Co-authored-by: Joshua Ward <joshua.l.ward@leidos.com>
2022-05-19 09:17:49 -06:00
tyzbit 25e02db101
Add locking favorite namespaces (#1449) (#1519)
* add locking favorite namespaces (#1449)

* let favorites be set via type default
2022-05-19 09:15:40 -06:00
Léo b24759e6fe
fix view details secret fullscreen padding to 0 (#1493)
closes https://github.com/derailed/k9s/issues/1450
2022-04-07 10:42:52 -06:00
Fernand Galiana 6085039f83
fix #1402 (#1408) 2021-12-28 09:52:33 -07:00
Fernand Galiana 2a9f5464c3
K9s: rel v0.25.17 (#1406)
* fix #1402 #1401

* add rel notes
2021-12-27 23:42:01 -07:00
Fernand Galiana fc8ffe5d37
release v0.25.16 (#1400) 2021-12-24 17:41:35 -07:00
Fernand Galiana df613ec88d
fix #1384 (#1388) 2021-12-17 10:04:52 -07:00