Commit Graph

49 Commits (3a03b67af090d8dd08540739a93b1edfeab4390f)

Author SHA1 Message Date
Fernand Galiana 3a03b67af0
Rel v0.40.11 (#3239)
* Fix #3222 - add gvr title config option

* Fix #3224 - pod shell use default co annotation

* Fix #3226 - yaml search busted

* Fix #3210 - description line is buggy -> update ro icons

* deps-update

* spring cleaning

* update deps + add stale issues
* cleanup secrets
2025-03-30 11:42:45 -06:00
Fernand Galiana a8b75ef1e5
Rel v0.40.6 (#3185)
* update deps

* docs

* fix#3161 - add V attr

* add alias sort

* fix#3139 - cpu/mem with rx

* fix#3147 - prompt styles

* fix#3138 - rbac subres

* update deps

* mv pfAddress to main config + relax validation

* fix#3179 - gvr title

* fix#3178 - jobs in wrong ns

* fix#3163 - cust views with ns

* fix#3162 - ctx switch save in wrong context

* switch over to slog logger

* add exit code

* update default timeout

* rel notes

* update docs

* rel notes
2025-03-09 13:58:44 -06:00
Alexandru Placinta 31f8aa6334
Fix K9S_EDITOR (#3043) 2025-01-08 11:14:57 -07: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
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 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 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
Fernand Galiana d0f874e01a
K9s/release v0.30.8 (#2427)
* [Bug] Fix #2418

* cleaning up

* rel notes
2024-01-03 12:07:02 -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 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
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
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
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
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
Antonio Niño Díaz 2d2baa884a
fix: Show meaningful error message when kubectl exec fails (#1966)
`exec.LookPath()` and `exec.Command()` aren't supposed to work with
binaries that are located in the current working directory:

fd208c8850:src/os/exec/exec.go

If `kubectl` is found in the current working directory, `LookPath()`
will return `ErrDot` even if it is also found in any other directory in
the `PATH`.

This patch detects this condition and shows a meaningful error message
in the log so that the user knows the reason why `kubectl` couldn't be
executed.

Related: https://github.com/derailed/k9s/issues/1787
2023-02-11 11:51:11 -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
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
derailed ee07b98755 cleaning up deprecation 2022-07-17 09:56:16 -06:00
derailed 27b0aa6135 additional tests + cleanup 2022-06-30 11:26:06 -06:00
Fernand Galiana fc8ffe5d37
release v0.25.16 (#1400) 2021-12-24 17:41:35 -07:00
Fernand Galiana 165ffeab93
K9s: rel v0.25.4 (#1322)
* release v0.25.4

* update docs

* update docs
2021-11-20 13:23:26 -07:00
Fernand Galiana 4e20e5f110
K9s: Release v0.25.0 (#1304)
* update rel notes

* release 0.25 checkpoint

* cleaning up
2021-11-15 23:24:51 -07:00
Konstantinos Natsakis 1152133de1
Node shell pods tolerate all taints (#1249) 2021-10-02 11:11:53 -06:00
derailed 6426ea112f windows shell fix 2021-05-19 23:54:08 -06:00
derailed a951b552fb checkpoint 2021-05-02 12:46:15 -06:00
derailed 627c38cb36 bug fixes and enhancements 2021-04-29 11:21:43 -06:00
Harry Han 67fc0e347d
when k9s --insecure-skip-tls-verify is set, kubectl would set the same (#1101)
* when k9s --insecure-skip-tls-verify is set, kubectl would set the same

* check insecure flag nil
2021-04-29 11:09:30 -06:00
derailed d38efba564 fix bugz 2021-04-29 10:51:56 -06:00
derailed 512c40fae0 rel v.24.0 - maintenance drop 2020-11-21 10:20:32 -07:00
derailed ffc31f856a checkpoint 2020-10-26 16:49:28 -06:00
derailed 5893cffb0d add dir view 2020-07-02 17:58:25 -06:00
derailed 80176609db switch to context view if cluster is unreachable 2020-05-28 13:42:02 -06:00
derailed e04d7da461 add release notes 2020-05-15 16:32:15 -06:00
derailed e181fe859c checkpoint 2020-05-14 18:44:43 -06:00
derailed cb456883ec checkpoint 2020-05-14 18:43:33 -06:00
derailed 175a16cfce update shell config 2020-05-14 18:41:40 -06:00
derailed 037d6d3f54 update deps - fix ns issues 2020-05-14 18:27:02 -06:00
derailed 6b65938dbc fix #687 2020-05-01 16:24:14 -06:00
derailed 7d8277dfe9 fix config reloads, added filter history + bug fixes 2020-04-24 15:44:18 -06:00
derailed 3614b3122b added rel notes + cleanup 2020-02-20 09:24:16 -07:00
derailed 355f4ce396 checkpoint 2020-02-19 18:25:36 -07:00
derailed aa58d1063a fix pod xray menu + layout 2020-02-11 15:26:49 -07:00
derailed ecdce780c9 enable search on describe+yaml. Fix #536, #526, #564 2020-02-10 16:26:54 -07:00
derailed 67c0702bf2 add searchable yaml/describe. Fix #464, #526 2020-02-10 14:28:22 -07:00
Joscha Alisch 7d56789a20
Allow setting info message on command execution 2020-02-07 20:22:55 +01:00
derailed 4c2c4793dc checkpoint 2019-12-02 16:11:39 -07:00
derailed 7a89c4c1e4 checkpoint 2019-11-12 22:45:26 -07:00