diff --git a/change_logs/release_v0.21.9.md b/change_logs/release_v0.21.9.md new file mode 100644 index 00000000..2166130e --- /dev/null +++ b/change_logs/release_v0.21.9.md @@ -0,0 +1,41 @@ + + +# Release v0.21.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! + +If you feel K9s is helping your Kubernetes journey, please consider joining our [sponsorhip 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/enQtOTA5MDEyNzI5MTU0LWQ1ZGI3MzliYzZhZWEyNzYxYzA3NjE0YTk1YmFmNzViZjIyNzhkZGI0MmJjYzhlNjdlMGJhYzE2ZGU1NjkyNTM) + +--- + +Maintenance Release! + +## ♫ The Sound Behind The Release ♭ + +I figured, why not share one of the tunes I was spinning when powering thru teh bugs? Might as well share the pain/pleasure while viewing this release notes roaght? + +[Strange Ritual - David Byrne](https://www.youtube.com/watch?v=gsramZ3sOjI) ;) + +## A Word From Our Sponsors... + +First off, I would like to send a `Big Thank You` to the following generous K9s friends for joining our sponsorship program and supporting this project! + +* [Jean-Luc Geering](https://github.com/jlgeering) +* [Takafumi Ikeda](https://github.com/ikeike443) + +Contrarily to popular belief, OSS is not free! We've now reached ~9k stars and 300k downloads! As you all know, this project is not pimped out by a big company with deep pockets and a large team. K9s is complex and does demand a lot of my time. So if this tool is useful to you and part of your daily lifecycle, please contribute! Your contribution whether financial, PRs, issues or shout-outs on social/blogs are crucial to keep K9s growing and powerful for all of us. Don't let OSS by individual contributors become an oxymoron! + +## Resolved Issues/Features + +* [Issue #871](https://github.com/derailed/k9s/issues/871) K9s memory leak when shell that launched k9s is terminated (With feeling!) +* [Issue #849](https://github.com/derailed/k9s/issues/849) Xray highlight color (with feeling!) + +## Resolved PRs + +--- + + © 2020 Imhotep Software LLC. All materials licensed under [Apache v2.0](http://www.apache.org/licenses/LICENSE-2.0) diff --git a/go.mod b/go.mod index 08d053a8..601d53f2 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.15 require ( github.com/atotto/clipboard v0.1.2 github.com/derailed/popeye v0.8.10 - github.com/derailed/tview v0.4.5 + github.com/derailed/tview v0.4.6 github.com/drone/envsubst v1.0.2 // indirect github.com/fatih/color v1.9.0 github.com/fsnotify/fsnotify v1.4.7 diff --git a/internal/config/styles.go b/internal/config/styles.go index 46a917bc..1cb50d1a 100644 --- a/internal/config/styles.go +++ b/internal/config/styles.go @@ -341,7 +341,7 @@ func newXray() Xray { return Xray{ FgColor: "aqua", BgColor: "black", - CursorColor: "aqua", + CursorColor: "dodgerblue", CursorTextColor: "black", GraphicColor: "cadetblue", } diff --git a/internal/view/app.go b/internal/view/app.go index 705d6e6f..5dfac488 100644 --- a/internal/view/app.go +++ b/internal/view/app.go @@ -141,8 +141,9 @@ func (a *App) initSignals() { signal.Notify(sig, syscall.SIGTERM, syscall.SIGABRT, syscall.SIGINT, syscall.SIGHUP, syscall.SIGQUIT) go func(sig chan os.Signal) { - if syscall.SIGHUP == <-sig { - a.BailOut() + s := <-sig + if s == syscall.SIGHUP { + os.Exit(0) } }(sig) } diff --git a/internal/watch/factory.go b/internal/watch/factory.go index ee53181f..300081aa 100644 --- a/internal/watch/factory.go +++ b/internal/watch/factory.go @@ -141,7 +141,6 @@ func (f *Factory) waitForCacheSync(ns string) { // Hang for a sec for the cache to refresh if still not done bail out! c := make(chan struct{}) go func(c chan struct{}) { - defer log.Debug().Msgf("CacheSync done!") <-time.After(defaultWaitTime) close(c) }(c)