Rel v0.50.9 (#3461)

* fix #3458

* cleanup

* rel notes
mine
Fernand Galiana 2025-07-15 23:02:41 -06:00 committed by GitHub
parent 4c43afe086
commit c2f1316680
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 44 additions and 5 deletions

View File

@ -1,5 +1,5 @@
NAME := k9s NAME := k9s
VERSION ?= v0.50.8 VERSION ?= v0.50.9
PACKAGE := github.com/derailed/$(NAME) PACKAGE := github.com/derailed/$(NAME)
OUTPUT_BIN ?= execs/${NAME} OUTPUT_BIN ?= execs/${NAME}
GO_FLAGS ?= GO_FLAGS ?=

View File

@ -0,0 +1,38 @@
<img src="https://raw.githubusercontent.com/derailed/k9s/master/assets/k9s.png" align="center" width="800" height="auto"/>
# Release v0.50.9
## Notes
Thank you to all that contributed with flushing out issues and enhancements for K9s!
I'll try to mark some of these issues as fixed. But if you don't mind grab the latest rev
and see if we're happier with some of the fixes!
If you've filed an issue please help me verify and close.
Your support, kindness and awesome suggestions to make K9s better are, as ever, very much noted and appreciated!
Also big thanks to all that have allocated their own time to help others on both slack and on this repo!!
As you may know, K9s is not pimped out by corps with deep pockets, thus if you feel K9s is helping your Kubernetes journey,
please consider joining our [sponsorship program](https://github.com/sponsors/derailed) and/or make some noise on social! [@kitesurfer](https://twitter.com/kitesurfer)
On Slack? Please join us [K9slackers](https://join.slack.com/t/k9sers/shared_invite/zt-3360a389v-ElLHrb0Dp1kAXqYUItSAFA)
## Maintenance Release!
---
## Resolved Issues
* [#3459](https://github.com/derailed/k9s/issues/3459) Update the tablewriter dependency + implementation
* [#3458](https://github.com/derailed/k9s/issues/3458) Unable to switch namespaces with 0.50.8
---
## Contributed PRs
Please be sure to give `Big Thanks!` and `ATTA Girls/Boys!` to all the fine contributors for making K9s better for all of us!!
* [#3460](https://github.com/derailed/k9s/pull/3460) update to tablewriter v1 apis
---
<img src="https://raw.githubusercontent.com/derailed/k9s/master/assets/imhotep_logo.png" width="32" height="auto"/> © 2025 Imhotep Software LLC. All materials licensed under [Apache v2.0](http://www.apache.org/licenses/LICENSE-2.0)#

View File

@ -116,6 +116,7 @@ func (*Command) namespaceCmd(p *cmd.Interpreter) bool {
if ns != "" { if ns != "" {
_ = p.Reset(client.PodGVR.String()) _ = p.Reset(client.PodGVR.String())
p.SwitchNS(ns)
} }
return false return false

View File

@ -20,17 +20,17 @@ const (
// Scans tracks scans per image. // Scans tracks scans per image.
type Scans map[string]*Scan type Scans map[string]*Scan
// Dump dump reports to stdout. // Dump dumps reports to writer.
func (s Scans) Dump(w io.Writer) error { func (s Scans) Dump(w io.Writer) error {
for k, v := range s { for k, v := range s {
_, _ = fmt.Fprintf(w, "Image: %s -- ", k) _, _ = fmt.Fprintf(w, "Image: %s -- ", k)
v.Tally.Dump(w) v.Tally.Dump(w)
_, _ = fmt.Fprintln(w) _, _ = fmt.Fprintln(w)
err := v.Dump(w) if err := v.Dump(w); err != nil {
if err != nil {
return err return err
} }
} }
return nil return nil
} }

View File

@ -1,6 +1,6 @@
name: k9s name: k9s
base: core22 base: core22
version: 'v0.50.8' version: 'v0.50.9'
summary: K9s is a CLI to view and manage your Kubernetes clusters. summary: K9s is a CLI to view and manage your Kubernetes clusters.
description: | description: |
K9s is a CLI to view and manage your Kubernetes clusters. By leveraging a terminal UI, you can easily traverse Kubernetes resources and view the state of your clusters in a single powerful session. K9s is a CLI to view and manage your Kubernetes clusters. By leveraging a terminal UI, you can easily traverse Kubernetes resources and view the state of your clusters in a single powerful session.