diff --git a/Makefile b/Makefile index 2443b487..5ee7de08 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ NAME := k9s -VERSION ?= v0.50.8 +VERSION ?= v0.50.9 PACKAGE := github.com/derailed/$(NAME) OUTPUT_BIN ?= execs/${NAME} GO_FLAGS ?= diff --git a/change_logs/release_v0.50.9.md b/change_logs/release_v0.50.9.md new file mode 100644 index 00000000..55d0e36d --- /dev/null +++ b/change_logs/release_v0.50.9.md @@ -0,0 +1,38 @@ + + +# 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 + +--- + © 2025 Imhotep Software LLC. All materials licensed under [Apache v2.0](http://www.apache.org/licenses/LICENSE-2.0)# \ No newline at end of file diff --git a/internal/view/command.go b/internal/view/command.go index 0e4f49f5..4ff62b54 100644 --- a/internal/view/command.go +++ b/internal/view/command.go @@ -116,6 +116,7 @@ func (*Command) namespaceCmd(p *cmd.Interpreter) bool { if ns != "" { _ = p.Reset(client.PodGVR.String()) + p.SwitchNS(ns) } return false diff --git a/internal/vul/scan.go b/internal/vul/scan.go index be2f6aeb..2c746bf3 100644 --- a/internal/vul/scan.go +++ b/internal/vul/scan.go @@ -20,17 +20,17 @@ const ( // Scans tracks scans per image. type Scans map[string]*Scan -// Dump dump reports to stdout. +// Dump dumps reports to writer. func (s Scans) Dump(w io.Writer) error { for k, v := range s { _, _ = fmt.Fprintf(w, "Image: %s -- ", k) v.Tally.Dump(w) _, _ = fmt.Fprintln(w) - err := v.Dump(w) - if err != nil { + if err := v.Dump(w); err != nil { return err } } + return nil } diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index c6a9674e..22ebabbc 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,6 +1,6 @@ name: k9s base: core22 -version: 'v0.50.8' +version: 'v0.50.9' summary: K9s is a CLI to view and manage your Kubernetes clusters. 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.