added release notes + code fmt
parent
024ce3bb80
commit
3d4d3cba2c
|
|
@ -0,0 +1,35 @@
|
||||||
|
# Release v0.1.3
|
||||||
|
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
---
|
||||||
|
## Notes
|
||||||
|
|
||||||
|
Thank you to all that contributed with flushing out issues with 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 file an issue please help me verify and close.
|
||||||
|
|
||||||
|
Thank you so much for your support!!
|
||||||
|
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
---
|
||||||
|
## Change Logs
|
||||||
|
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
+ IMPORTANT! Breaking change! The K9s config was changed
|
||||||
|
If K9s does not launch, move over .k9s/config.yml
|
||||||
|
+ Reworked CLI args to better support contexts
|
||||||
|
|
||||||
|
---
|
||||||
|
## Resolved Bugs
|
||||||
|
|
||||||
|
+ [Issue #67](https://github.com/derailed/k9s/issues/67)
|
||||||
|
+ [Issue #65](https://github.com/derailed/k9s/issues/65)
|
||||||
|
+ [Issue #64](https://github.com/derailed/k9s/issues/64)
|
||||||
|
+ [Issue #60](https://github.com/derailed/k9s/issues/60)
|
||||||
|
+ [Issue #57](https://github.com/derailed/k9s/issues/57)
|
||||||
|
+ [Issue #56](https://github.com/derailed/k9s/issues/56)
|
||||||
|
|
@ -11,7 +11,6 @@ import (
|
||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"k8s.io/cli-runtime/pkg/genericclioptions"
|
"k8s.io/cli-runtime/pkg/genericclioptions"
|
||||||
_ "k8s.io/client-go/plugin/pkg/client/auth"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
||||||
|
|
@ -66,6 +66,6 @@ func (v *cmdView) active(f bool) {
|
||||||
v.activate()
|
v.activate()
|
||||||
} else {
|
} else {
|
||||||
log.Debug("CmdView was deactivated!")
|
log.Debug("CmdView was deactivated!")
|
||||||
v.Clear()
|
v.Clear()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
package views
|
package views
|
||||||
|
|
||||||
import(
|
import (
|
||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
package views
|
package views
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/derailed/k9s/internal/resource"
|
|
||||||
"github.com/derailed/k9s/internal/k8s"
|
"github.com/derailed/k9s/internal/k8s"
|
||||||
|
"github.com/derailed/k9s/internal/resource"
|
||||||
"github.com/gdamore/tcell"
|
"github.com/gdamore/tcell"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -77,7 +77,7 @@ func (v *tableView) keyboard(evt *tcell.EventKey) *tcell.EventKey {
|
||||||
switch evt.Rune() {
|
switch evt.Rune() {
|
||||||
case v.cmdBuff.hotKey:
|
case v.cmdBuff.hotKey:
|
||||||
if !v.app.cmdView.inCmdMode() {
|
if !v.app.cmdView.inCmdMode() {
|
||||||
v.app.flash(flashInfo,"Entering filtering mode...")
|
v.app.flash(flashInfo, "Entering filtering mode...")
|
||||||
log.Info("K9s entering filtering mode...")
|
log.Info("K9s entering filtering mode...")
|
||||||
v.cmdBuff.setActive(true)
|
v.cmdBuff.setActive(true)
|
||||||
}
|
}
|
||||||
|
|
@ -87,7 +87,7 @@ func (v *tableView) keyboard(evt *tcell.EventKey) *tcell.EventKey {
|
||||||
}
|
}
|
||||||
|
|
||||||
if a, ok := v.actions[key]; ok {
|
if a, ok := v.actions[key]; ok {
|
||||||
if ! v.app.cmdView.inCmdMode() {
|
if !v.app.cmdView.inCmdMode() {
|
||||||
a.action(evt)
|
a.action(evt)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
1
main.go
1
main.go
|
|
@ -6,6 +6,7 @@ import (
|
||||||
"github.com/derailed/k9s/internal/cmd"
|
"github.com/derailed/k9s/internal/cmd"
|
||||||
"github.com/derailed/k9s/internal/config"
|
"github.com/derailed/k9s/internal/config"
|
||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
|
_ "k8s.io/client-go/plugin/pkg/client/auth"
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue