Commit Graph

1988 Commits (6f0ecdec9b942ed1c52ec179bbe809cdec875735)

Author SHA1 Message Date
Artem Yadelskyi 6f0ecdec9b
feat: logs column lock (#3669)
* feat: logs column lock

* feat: logs column lock indicator

* feat: fix getting values from config

* feat: removed unnecessary new line
2025-11-17 10:53:18 -07:00
Ümüt Özalp 6bc67e97f4
Sort all columns (#3650)
* feat: enhance table column selection and sorting functionality

* fix: update key binding for sorting selected column to Ctrl+O

* remove unused setSelectedColIdx method and sortIndicator function

* test: update expected hints count in various view tests

* test: update expected hints count in TestServiceNew

* fix: update keyboard handling for column selection to use Shift key

* refactor: streamline column selection logic and initialize selected column based on current sort

* fix: change key binding for sorting selected column from Ctrl+O to Shift+S

* test: update expected hints count in help, namespace, pod, and PVC tests
2025-11-16 08:49:29 -07:00
SebPlv 2bf2f481ef
fix #3601 - fails to modify or delete namespaces using RBAC (#3671) 2025-11-12 09:22:13 -07:00
dependabot[bot] b49e3f4a27
chore(deps): bump github.com/opencontainers/selinux (#3675)
Bumps [github.com/opencontainers/selinux](https://github.com/opencontainers/selinux) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/opencontainers/selinux/releases)
- [Commits](https://github.com/opencontainers/selinux/compare/v1.12.0...v1.13.0)

---
updated-dependencies:
- dependency-name: github.com/opencontainers/selinux
  dependency-version: 1.13.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-12 08:03:13 -07:00
dependabot[bot] baffa70dba
chore(deps): bump golangci/golangci-lint-action from 8.0.0 to 9.0.0 (#3672)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 8.0.0 to 9.0.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v8.0.0...v9.0.0)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-version: 9.0.0
  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>
2025-11-10 16:36:33 -07:00
dependabot[bot] 1baeef4887
chore(deps): bump github.com/olekukonko/tablewriter from 1.1.0 to 1.1.1 (#3674)
Bumps [github.com/olekukonko/tablewriter](https://github.com/olekukonko/tablewriter) from 1.1.0 to 1.1.1.
- [Commits](https://github.com/olekukonko/tablewriter/compare/v1.1.0...v1.1.1)

---
updated-dependencies:
- dependency-name: github.com/olekukonko/tablewriter
  dependency-version: 1.1.1
  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>
2025-11-10 16:27:45 -07:00
dependabot[bot] 750a2a089a
chore(deps): bump golang from 1.25.2-alpine3.21 to 1.25.4-alpine3.21 (#3673)
Bumps golang from 1.25.2-alpine3.21 to 1.25.4-alpine3.21.

---
updated-dependencies:
- dependency-name: golang
  dependency-version: 1.25.4-alpine3.21
  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>
2025-11-10 16:27:21 -07:00
dependabot[bot] a13a8b5822
chore(deps): bump github.com/anchore/grype from 0.101.1 to 0.103.0 (#3656)
Bumps [github.com/anchore/grype](https://github.com/anchore/grype) from 0.101.1 to 0.103.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.101.1...v0.103.0)

---
updated-dependencies:
- dependency-name: github.com/anchore/grype
  dependency-version: 0.103.0
  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>
2025-11-06 16:24:01 -07:00
Ümüt Özalp 891514731c
fix: update busybox image version to 1.37.0 in configuration files (#3659) 2025-11-06 16:23:01 -07:00
dependabot[bot] 50496250c4
chore(deps): bump github.com/containerd/containerd from 1.7.28 to 1.7.29 (#3662)
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.7.28 to 1.7.29.
- [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.28...v1.7.29)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-06 16:21:29 -07:00
Fernand Galiana 3c37ca2197
Rel v0.50.16 (#3633)
* fix #3620 - bomb on show yaml

* fix #3595 - namespace warp

* fix #3608 - klog logger

* fix #3621 #3576

* fix #3629 - bump scanner deps

* rel notes
2025-10-19 09:06:48 -06:00
cui fliter 26ab3fcc42
bugfix: fix panic in BenchmarkPodRender by using NewPod() constructor (#3623)
Signed-off-by: cuishuang <imcusg@gmail.com>
2025-10-18 10:04:12 -06:00
Giuseppe Crinò ea2b624cf5
fix: `debug-container` plugin when KUBECONFIG has multiple files (#3625)
Also,
- bump netshoot image
- add `--profile=sysadmin` to create a privileged pod
2025-10-18 10:03:44 -06:00
dependabot[bot] 4cadf28a5c
chore(deps): bump golang from 1.25.1-alpine3.21 to 1.25.2-alpine3.21 (#3626)
Bumps golang from 1.25.1-alpine3.21 to 1.25.2-alpine3.21.

---
updated-dependencies:
- dependency-name: golang
  dependency-version: 1.25.2-alpine3.21
  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>
2025-10-14 10:57:42 -06:00
dependabot[bot] e5786e9e7d
chore(deps): bump alpine from 3.22.1 to 3.22.2 (#3627)
Bumps alpine from 3.22.1 to 3.22.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-version: 3.22.2
  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>
2025-10-14 10:57:21 -06:00
dependabot[bot] 453e0ce8cc
chore(deps): bump golang.org/x/text from 0.29.0 to 0.30.0 (#3628)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.29.0 to 0.30.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.29.0...v0.30.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-version: 0.30.0
  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>
2025-10-14 10:57:04 -06:00
Mattis b97885ce0c
feat: plugin to list all resources by namespace (#3619)
* Plugin to list all resources by namespace (closes #3618)

* add get-all-namespace-resources.yaml plugin to plugins table
2025-10-10 07:05:25 -06:00
小染 e762cc6d90
fix: resolve UTF-8 character encoding issues in log search and highlighting (#3557)
* fix: find all match str index

* fix: resolve UTF-8 character encoding issue in log search highlighting

* feat: optimize  search logic

* feat: add test

* fix: filter code logic clean

* remove: garbge test code

* golangci: remove unused colorizeByte func

* feat: add test

* fix: golangci

---------

Co-authored-by: tianbaosha <tianbaosha@tencent.com>
2025-10-09 09:09:10 -06:00
derailed 72ea1d4851 [hot-fix] Release v0.50.15 2025-10-07 07:25:42 -06:00
derailed b53f3091ca [hot-fix] revert enter cmd 2025-10-07 07:17:22 -06:00
Fernand Galiana 73fa008736
Rel v0.50.14 (#3609)
* fix #3591 #3608 suggestions enter accept

* fix#3606-xray busted

* fix#3594-yaml busted

* rel notes
2025-10-06 17:57:12 -06:00
jfremy-openai 41acad343b
fix: consider readinessGates + ready condition in diagnose (#3556)
* Consider readinessGates + ready condition in diagnose

Now that readiness gates are supported, those should be considered when displaying a pod healthiness

Additionally consider the pod ready condition status. It should match the && of the containers' ready condition and readiness gates but I've actually observed that in some cases, it can be false with the containers reporting ready true.

* Update pod.go

* Update pod.go

fix lint

* Update pod.go

lint

* add tests for diagnose and readinessGateStats

* lint error
2025-10-05 08:38:03 -06:00
henry 2daec83d60
fix: do not error out of shellIn if OS detection fails, and default platform on linux (#3600) 2025-10-05 08:09:25 -06:00
dependabot[bot] f824a3ed6f
chore(deps): bump github.com/mattn/go-runewidth from 0.0.16 to 0.0.19 (#3596)
Bumps [github.com/mattn/go-runewidth](https://github.com/mattn/go-runewidth) from 0.0.16 to 0.0.19.
- [Commits](https://github.com/mattn/go-runewidth/compare/v0.0.16...v0.0.19)

---
updated-dependencies:
- dependency-name: github.com/mattn/go-runewidth
  dependency-version: 0.0.19
  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>
2025-10-05 08:07:41 -06:00
Maico Timmerman c07aa2a5f4
browser: do not prevent redraw when connection unavailable (#3605)
Co-authored-by: maico <maico.timmerman@adyen.com>
2025-10-05 07:54:13 -06:00
Fernand Galiana 1d8cb6ced0
Rel v0.50.13 (#3592)
* fix #3587 - dp restart

* fix #3585 - sec abreviation

* fix #3583 - exec without node read

* fix #3574 - label filter path

* fix #3584 - managed fields

* fix #3577 - pod logs

* rel notes
2025-09-27 09:16:36 -06:00
Ümüt Özalp 2ed7206896
fix: improve log retry logic (#3580)
* fix: improve log retry logic

* fix: streamline log retry logic and improve error handling
2025-09-27 08:51:43 -06:00
dependabot[bot] 5b877f5807
chore(deps): bump github.com/olekukonko/tablewriter from 1.0.9 to 1.1.0 (#3579)
Bumps [github.com/olekukonko/tablewriter](https://github.com/olekukonko/tablewriter) from 1.0.9 to 1.1.0.
- [Commits](https://github.com/olekukonko/tablewriter/compare/v1.0.9...v1.1.0)

---
updated-dependencies:
- dependency-name: github.com/olekukonko/tablewriter
  dependency-version: 1.1.0
  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>
2025-09-26 10:24:47 -06:00
Fernand Galiana 09c1c07950
Rel v0.50.12 (#3572)
* fix #3570 - broken display when no resources

* fix #3547 - surface error

* fix #3562 - rbac del ns

* rel notes
2025-09-19 08:36:53 -06:00
Lucas BODIN ab839ed11e
Fix: plugin external-secrets.yaml context (#3546)
* fix when switching contexts

* Link external-secrets

# Conflicts:
#	plugins/README.md

* external-secret background true
2025-09-18 16:53:31 -06:00
Fernand Galiana 5c5fcba6d8
Rel v0.50.11 (#3569)
* fix #3567 #3566

* release notes
2025-09-18 09:33:35 -06:00
Fernand Galiana 4f5c1a1105
Rel v0.50.10 (#3564)
* fix #3455

* Clean up and refactor

* fix #3495 #3470 #3455 - fix cmd alias and filters

* fix #3535 - revert

* fix #3478 - make vulscan a bit less cpu extensive (init stab...)

* fix issue with plugin foreground exit

* fix#3466-add shared gpu on nodes

* fix #3541 - use default namespace when not specified

* update deps + release notes
2025-09-17 16:49:58 -06:00
Furkan Pehlivan e7970c2517
feat: add crd-wizard plugin (#3522) 2025-09-17 15:42:55 -06:00
markafarrell e00fa357ce
add flux-operator resources to flux plugin (#3536) 2025-09-17 11:19:05 -06:00
Ümüt Özalp c1d07ea699
fix(logs): enhance log streaming with retry mechanism and error handling (#3503)
* fix(logs): enhance log streaming with retry mechanism and error handling

* fix(logs): improve log tailing with enhanced retry logic and error handling

* renamed function

* Enhance log streaming with retry logic based on pod status

* Refactor Pod struct definition by moving it above the shouldStopRetrying method

* Implement exponential backoff for log streaming retries

* fix: reduce log channel buffer size to prevent drops
2025-09-16 19:31:59 -06:00
Alexandre Veyrenc a6fbf984cb
Make "flux trace" more generic (#3543) 2025-09-16 17:49:52 -06:00
dependabot[bot] c08d43d508
chore(deps): bump actions/stale from 9 to 10 (#3549)
Bumps [actions/stale](https://github.com/actions/stale) from 9 to 10.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v9...v10)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-version: '10'
  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>
2025-09-16 17:40:14 -06:00
dependabot[bot] ac545857c1
chore(deps): bump golang from 1.25.0-alpine3.21 to 1.25.1-alpine3.21 (#3550)
Bumps golang from 1.25.0-alpine3.21 to 1.25.1-alpine3.21.

---
updated-dependencies:
- dependency-name: golang
  dependency-version: 1.25.1-alpine3.21
  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>
2025-09-16 17:39:56 -06:00
dependabot[bot] cb2b736f25
chore(deps): bump actions/setup-go from 5.5.0 to 6.0.0 (#3551)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.5.0 to 6.0.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v5.5.0...v6.0.0)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: 6.0.0
  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>
2025-09-16 17:39:09 -06:00
vash 1c66a0a274
feat: add duplicate plugin (#3555) 2025-09-16 17:38:52 -06:00
dependabot[bot] 17fedc654c
chore(deps): bump k8s.io/cli-runtime from 0.33.4 to 0.34.1 (#3560)
Bumps [k8s.io/cli-runtime](https://github.com/kubernetes/cli-runtime) from 0.33.4 to 0.34.1.
- [Commits](https://github.com/kubernetes/cli-runtime/compare/v0.33.4...v0.34.1)

---
updated-dependencies:
- dependency-name: k8s.io/cli-runtime
  dependency-version: 0.34.1
  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>
2025-09-16 17:12:26 -06:00
dependabot[bot] a4ebaeba4a
chore(deps): bump github.com/anchore/syft from 1.28.0 to 1.33.0 (#3561)
Bumps [github.com/anchore/syft](https://github.com/anchore/syft) from 1.28.0 to 1.33.0.
- [Release notes](https://github.com/anchore/syft/releases)
- [Changelog](https://github.com/anchore/syft/blob/main/.goreleaser.yaml)
- [Commits](https://github.com/anchore/syft/compare/v1.28.0...v1.33.0)

---
updated-dependencies:
- dependency-name: github.com/anchore/syft
  dependency-version: 1.33.0
  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>
2025-09-16 16:46:30 -06:00
Ümüt Özalp 22f3d3964e
refactor(duplik8s): consolidate duplicate resource commands and update descriptions (#3558) 2025-09-15 16:18:24 -06:00
dependabot[bot] a61d19de52
chore(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.1 (#3539)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.10.0 to 1.11.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.10.0...v1.11.1)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-version: 1.11.1
  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>
2025-09-03 18:09:55 -06:00
dependabot[bot] 6b308ed66f
chore(deps): bump sigs.k8s.io/yaml from 1.5.0 to 1.6.0 (#3540)
Bumps [sigs.k8s.io/yaml](https://github.com/kubernetes-sigs/yaml) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/kubernetes-sigs/yaml/releases)
- [Changelog](https://github.com/kubernetes-sigs/yaml/blob/master/RELEASE.md)
- [Commits](https://github.com/kubernetes-sigs/yaml/compare/v1.5.0...v1.6.0)

---
updated-dependencies:
- dependency-name: sigs.k8s.io/yaml
  dependency-version: 1.6.0
  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>
2025-09-03 18:09:38 -06:00
dependabot[bot] f5f1890f5b
chore(deps): bump alpine from 3.21.3 to 3.22.1 (#3479)
Bumps alpine from 3.21.3 to 3.22.1.

---
updated-dependencies:
- dependency-name: alpine
  dependency-version: 3.22.1
  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>
2025-09-01 16:41:26 -06:00
dependabot[bot] cda4967fe7
chore(deps): bump github.com/olekukonko/tablewriter from 1.0.8 to 1.0.9 (#3481)
Bumps [github.com/olekukonko/tablewriter](https://github.com/olekukonko/tablewriter) from 1.0.8 to 1.0.9.
- [Commits](https://github.com/olekukonko/tablewriter/compare/v1.0.8...v1.0.9)

---
updated-dependencies:
- dependency-name: github.com/olekukonko/tablewriter
  dependency-version: 1.0.9
  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>
2025-09-01 16:41:04 -06:00
dependabot[bot] dccf17bb5b
chore(deps): bump github.com/docker/docker (#3484)
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 28.3.2+incompatible to 28.3.3+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v28.3.2...v28.3.3)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-version: 28.3.3+incompatible
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-01 16:40:37 -06:00
Konstantinos Koukopoulos 687e094bc1
support core group resources in k9s/plugins/watch-events.yaml (#3487)
The watch-events plugin fails when the resource group is empty. Fix it by using the alternate value expansion of shell variables: https://pubs.opengroup.org/onlinepubs/009604499/utilities/xcu_chap02.html#tag_02_06
2025-09-01 16:40:00 -06:00
Alex Cantu 40cf6a151f
feat: Add context deletion functionality (#3489)
* Add delete functionality for Kubernetes contexts

This adds the ability to delete Kubernetes contexts using the 'd' key in the context view. The implementation includes:
- New delete command bound to 'd' key
- Confirmation dialog before deletion
- Error handling and UI refresh after deletion

* Refactor context delete dialog to use standard dialog component

- Replace custom delete confirmation with dialog.ShowConfirm
- Add read-only mode checks for rename and delete commands
- Change delete keybinding from 'd' to 'Ctrl+d'
- Remove unused deletePage constant and related functions
- Simplify delete callback logic

* Refactor context view key bindings to separate dangerous operations

* Fix linting error
2025-09-01 16:38:26 -06:00