Commit Graph

1591 Commits (6cc4374e83d06b7786efa77df7b3ee04d04d5042)

Author SHA1 Message Date
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
dependabot[bot] ffd8d51a8b
Bump github.com/anchore/grype from 0.73.5 to 0.74.0 (#2439)
Bumps [github.com/anchore/grype](https://github.com/anchore/grype) from 0.73.5 to 0.74.0.
- [Release notes](https://github.com/anchore/grype/releases)
- [Changelog](https://github.com/anchore/grype/blob/main/.goreleaser.yaml)
- [Commits](https://github.com/anchore/grype/compare/v0.73.5...v0.74.0)

---
updated-dependencies:
- dependency-name: github.com/anchore/grype
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-08 18:15:59 -07:00
dependabot[bot] 21b9718804
Bump github.com/cloudflare/circl from 1.3.3 to 1.3.7 (#2438)
Bumps [github.com/cloudflare/circl](https://github.com/cloudflare/circl) from 1.3.3 to 1.3.7.
- [Release notes](https://github.com/cloudflare/circl/releases)
- [Commits](https://github.com/cloudflare/circl/compare/v1.3.3...v1.3.7)

---
updated-dependencies:
- dependency-name: github.com/cloudflare/circl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-08 18:15:40 -07:00
Jayson Wang 96a7e5a4d4
switch contexts only when needed (#2433) 2024-01-07 10:03:59 -07:00
Denis Iskandarov fa4d3acbd1
README update (#2429) 2024-01-04 10:50:09 -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
Max Schmidt b56c151d94
fix typo (#2419) 2024-01-03 23:35:51 -07:00
Alex Barbato a19fabd885
Update carvel plugin kick to shift K (#2426) 2024-01-03 23:35:36 -07:00
Jayson Wang 3137b2b55a
supports referencing envs in hotkeys (#2420)
* supports referencing envs in hotkeys

* add testcase for hotkeys

* rename attr name to keepHistory
2024-01-03 22:56:21 -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
Jayson Wang 1c19ef6ad6
fix the check for whether the cluster supports metrics (#2424) 2024-01-03 08:26:22 -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
braykov d93041b187
Use dash as a standard word separator in skin names (#2411)
Co-authored-by: Branimir Braykov <Branimir.Braykov@gfk.com>
2024-01-02 10:41:57 -07:00
Pavan Gudiwada a766329083
Add support for resource recommendations using Robusta KRR (#2399)
* Adding Robusta KRR as a K9s  plugin

* Fixed file extension

* Updated details for simplicity

* Updated Author and dependency details
2024-01-02 10:33:11 -07:00
Jayson Wang 39d93223d9
add boundary check for args parser (#2415) 2024-01-02 10:20:18 -07:00
Fernand Galiana 6a43167f1a
K9s/release v0.30.6 (#2403)
* fix #2401

* fix #2400

* fix #2387

* rel notes
2023-12-28 14:16:59 -07:00
Tobias Germer cbe13e8c63
add kubectl-blame plugin (#2338)
* add kubectl-blame plugin

* add install docs & credits for kubectl-blame

* rename to plugins needed for v0.30.x
2023-12-28 10:36:34 -07:00
Fernand Galiana 9e337a6be0
K9s/release v0.30.5 (#2397)
* [Bug] Fix #2393

* [Maint] Cleaning up

* rel docs
2023-12-27 17:40:44 -07:00
Nicolas Karolak f5f3278e17
fix: create user tmp directory before the app one (#2395)
Otherwise on a shared machine, the `/tmp/k9s` directory will be owned by
the first user to lanch `k9s` command. The other users will get a
"permission denied" error.
2023-12-27 16:51:03 -07:00
Nicolas Karolak 736f6bfaa5
feat: allow to customize logs dir through environment variable (#2396)
Allow to customize log directory through `K9S_LOGS_DIR` environment variable.
If not set, fallsback on default tmp directory.

Fixes #2394
2023-12-27 16:00:09 -07:00
Jose Alvarez 8debcab3eb
Add plugin to remove finalizers (#2359)
* Add finalizer plugin

* Add explanation and authorship

* Move description and update plugin key to new k9s version
2023-12-26 14:11:12 -07:00
Fernand Galiana 34da44b441
K9s/release v0.30.4 (#2392)
* v0.30.3 version update (#2383)

* Update build v0.30.2

* v0.30.3

* [Bug] Fix #2387

* [Bug] Fix #2391

* rel v0.30.4

---------

Co-authored-by: Emanuele Ciurleo <emanuele@ciurleo.com>
2023-12-26 10:30:11 -07:00
Jayson Wang 27cc859e68
case sensitive for specific command args and flags (#2390) 2023-12-26 09:46:16 -07:00
Emanuele Ciurleo fdcb9933f6
v0.30.3 version update (#2383)
* Update build v0.30.2

* v0.30.3
2023-12-25 18:28:52 -07:00
Fernand Galiana 00d16beedb
fix #2382 (#2386) 2023-12-25 18:25:53 -07:00
dependabot[bot] 490b6d5359
Bump helm.sh/helm/v3 from 3.13.2 to 3.13.3 (#2384)
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.13.2 to 3.13.3.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.13.2...v3.13.3)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-25 18:23:49 -07:00
dependabot[bot] d8982eae9f
Bump github.com/anchore/grype from 0.73.4 to 0.73.5 (#2385)
Bumps [github.com/anchore/grype](https://github.com/anchore/grype) from 0.73.4 to 0.73.5.
- [Release notes](https://github.com/anchore/grype/releases)
- [Changelog](https://github.com/anchore/grype/blob/main/.goreleaser.yaml)
- [Commits](https://github.com/anchore/grype/compare/v0.73.4...v0.73.5)

---
updated-dependencies:
- dependency-name: github.com/anchore/grype
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-25 18:22:53 -07:00
Fernand Galiana 26d1585699
K9s/release v0.30.3 (#2381)
* fix #2377

* fix #2379

* cleaning up

* Release docs
2023-12-25 12:06:23 -07:00
Emanuele Ciurleo 463be69a9c
Update build v0.30.2 (#2380) 2023-12-25 12:03:29 -07:00
Fernand Galiana 1efadc81a6
K9s/release v0.30.2 (#2376)
* fix #2370

* Fix #2362

* K9s V0.30.2 release docs
2023-12-24 22:57:48 -07:00
Jayson Wang e113f4b7c5
get node filtering params from matching context values (#2375) 2023-12-24 22:48:59 -07:00
Jayson Wang defad7a174
fix cmdline flags not working (#2373) 2023-12-24 22:15:27 -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
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
Emanuele Ciurleo 7897fb0eef
Added ln check for snap (#2357)
* Added ln check for snap

Realised that if you manually created (or already had) a ln it would cause the build to fail.  So added in a check to see if it exists.
Moved commands out of prime-override as it didnt really add anything and made it harder to read

* Version no. update to 0.29.1

The snap package was being built with 0.29.1 but is presenting as 0.27 still (locally and in ubuntu snap store)
2023-12-19 15:47:10 -07:00
dependabot[bot] 17ad294ac2
Bump helm.sh/helm/v3 from 3.13.2 to 3.13.3 (#2353)
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.13.2 to 3.13.3.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.13.2...v3.13.3)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 15:23:40 -07:00
dependabot[bot] a6b702f9df
Bump golang.org/x/crypto from 0.16.0 to 0.17.0 (#2355)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.16.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 15:22:27 -07:00
dependabot[bot] 5538751552
Bump github.com/containerd/containerd from 1.7.8 to 1.7.11 (#2358)
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.7.8 to 1.7.11.
- [Release notes](https://github.com/containerd/containerd/releases)
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md)
- [Commits](https://github.com/containerd/containerd/compare/v1.7.8...v1.7.11)

---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 15:21:42 -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
Emanuele Ciurleo ca72490350
#1873 add symlink into snap (#2350)
K9s snap is missing a symlink when installing on Ubuntu 22.04.3 LTS

This creates the link alongside the rest of the snap.
2023-12-18 08:31:50 -07:00
tyzbit 906138181e
fix(misc plugins): split up multiline commands, use less -K everywhere (#2348)
`less -K` makes ctrl+c work with `less`.

When running commands in k9s that use less, sometimes the command doesn't ever return or the user doesn't wait for it to finish. Issuing ctrl+c to a command with a simple `| less` puts k9s into an unfixable state, requiring restarting because `less` never quits. With `less -K`, ctrl+c quits `less` and the user should always be returned to a working `k9s` session.

I also used multiline strings in a few places which improve readability and remove the need for double quotes in many places as many commands had gotten long.
2023-12-18 08:31:38 -07:00
dependabot[bot] a52bbde956
Bump alpine from 3.18.5 to 3.19.0 (#2337)
Bumps alpine from 3.18.5 to 3.19.0.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-15 17:40:43 -07:00
Tobias Germer 5b73665f79
add pkgx to installation section (#2340) 2023-12-15 17:34:44 -07:00
dependabot[bot] 414f7d84dd
Bump actions/setup-go from 4.1.0 to 5.0.0 (#2339)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4.1.0 to 5.0.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v4.1.0...v5.0.0)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-15 17:34:01 -07:00
Jayson Wang 104bf96415
passing on the correct suggestion parameters (#2343) 2023-12-13 15:24:07 -07:00
Jayson Wang f6dfc3721a
adding a default value for the AGE field (#2320)
* adding a default value for the AGE field

* use NAValue as a fallback value
2023-12-08 20:07:28 -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
dependabot[bot] e94f991ad4
Bump alpine from 3.18.4 to 3.18.5 (#2325)
Bumps alpine from 3.18.4 to 3.18.5.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-07 16:08:51 -07:00
derailed 362358aaa0 update container revs 2023-12-07 10:54:02 -07:00