Commit Graph

1978 Commits (3c37ca2197ca48591566d1f599b7b3a50d54a408)

Author SHA1 Message Date
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
dependabot[bot] af27aff6ac
chore(deps): bump golang.org/x/text from 0.27.0 to 0.28.0 (#3526)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.27.0 to 0.28.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.27.0...v0.28.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-version: 0.28.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-08-30 08:28:26 -06:00
dependabot[bot] 709f3eb2be
chore(deps): bump helm.sh/helm/v3 from 3.18.4 to 3.18.6 (#3527)
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.18.4 to 3.18.6.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.18.4...v3.18.6)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-version: 3.18.6
  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-08-30 08:28:07 -06:00
dependabot[bot] b92d5716b5
chore(deps): bump github.com/ulikunitz/xz from 0.5.12 to 0.5.14 (#3530)
Bumps [github.com/ulikunitz/xz](https://github.com/ulikunitz/xz) from 0.5.12 to 0.5.14.
- [Commits](https://github.com/ulikunitz/xz/compare/v0.5.12...v0.5.14)

---
updated-dependencies:
- dependency-name: github.com/ulikunitz/xz
  dependency-version: 0.5.14
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-30 08:26:43 -06:00
Fabian eed0cb87ae
feat(plugins): add pvc debug container plugin (#3528) 2025-08-29 17:27:36 -06:00
Ümüt Özalp e99c735430
Feature/refresh rate (#3517)
* refactor: change refreshRate type to float64 for improved precision

* test: update assertions for refreshRate to use assert.InDelta for precision

* refactor: enforce minimum refresh rate and update related tests

* refactor: change refresh rate type to float32 and update related logic

* refactor: update refresh rate validation and logging in GetRefreshRate method

* refactor: update logging keys for refresh rate validation in GetRefreshRate method
2025-08-25 12:01:03 -06:00
dependabot[bot] e5212875a4
chore(deps): bump github.com/go-viper/mapstructure/v2 (#3520)
Bumps [github.com/go-viper/mapstructure/v2](https://github.com/go-viper/mapstructure) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/go-viper/mapstructure/releases)
- [Changelog](https://github.com/go-viper/mapstructure/blob/main/CHANGELOG.md)
- [Commits](https://github.com/go-viper/mapstructure/compare/v2.3.0...v2.4.0)

---
updated-dependencies:
- dependency-name: github.com/go-viper/mapstructure/v2
  dependency-version: 2.4.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-08-23 07:46:09 -06:00
dependabot[bot] 2b280df82e
chore(deps): bump k8s.io/kubectl from 0.33.2 to 0.33.4 (#3511)
Bumps [k8s.io/kubectl](https://github.com/kubernetes/kubectl) from 0.33.2 to 0.33.4.
- [Commits](https://github.com/kubernetes/kubectl/compare/v0.33.2...v0.33.4)

---
updated-dependencies:
- dependency-name: k8s.io/kubectl
  dependency-version: 0.33.4
  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-08-21 07:26:55 -06:00
dependabot[bot] c31f337619
chore(deps): bump actions/checkout from 4.2.2 to 5.0.0 (#3500)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.2 to 5.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.2.2...v5.0.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 5.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-08-21 07:21:36 -06:00
dependabot[bot] 7451ac390a
chore(deps): bump golang from 1.24.5-alpine3.21 to 1.25.0-alpine3.21 (#3509)
Bumps golang from 1.24.5-alpine3.21 to 1.25.0-alpine3.21.

---
updated-dependencies:
- dependency-name: golang
  dependency-version: 1.25.0-alpine3.21
  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-08-21 07:20:57 -06:00
dependabot[bot] 3a853dd321
chore(deps): bump k8s.io/metrics from 0.33.2 to 0.33.4 (#3512)
Bumps [k8s.io/metrics](https://github.com/kubernetes/metrics) from 0.33.2 to 0.33.4.
- [Commits](https://github.com/kubernetes/metrics/compare/v0.33.2...v0.33.4)

---
updated-dependencies:
- dependency-name: k8s.io/metrics
  dependency-version: 0.33.4
  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-08-21 07:19:50 -06:00