k9s/internal
Antonio Niño Díaz 2d2baa884a
fix: Show meaningful error message when kubectl exec fails (#1966)
`exec.LookPath()` and `exec.Command()` aren't supposed to work with
binaries that are located in the current working directory:

fd208c8850:src/os/exec/exec.go

If `kubectl` is found in the current working directory, `LookPath()`
will return `ErrDot` even if it is also found in any other directory in
the `PATH`.

This patch detects this condition and shows a meaningful error message
in the log so that the user knows the reason why `kubectl` couldn't be
executed.

Related: https://github.com/derailed/k9s/issues/1787
2023-02-11 11:51:11 -07:00
..
client K9s/rel v0.27.0 (#1932) 2023-01-26 11:07:43 -07:00
color checkpoint 2020-10-26 16:49:28 -06:00
config set default sinceSeconds to 300 (#1965) 2023-02-11 11:50:46 -07:00
dao release v0.27.1 (#1945) 2023-01-31 08:09:53 -07:00
health add thresholds + pulses tlc + fix #596 #593 #560 2020-03-04 12:27:47 -07:00
model release v0.27.1 (#1945) 2023-01-31 08:09:53 -07:00
perf K9s: release v0.25.12 (#1379) 2021-12-14 23:46:32 -07:00
port release v0.25.8 (#1354) 2021-12-03 15:18:12 -07:00
render release v0.27.1 (#1945) 2023-01-31 08:09:53 -07:00
tchart release v0.27.1 (#1945) 2023-01-31 08:09:53 -07:00
ui release v0.27.1 (#1945) 2023-01-31 08:09:53 -07:00
view fix: Show meaningful error message when kubectl exec fails (#1966) 2023-02-11 11:51:11 -07:00
watch K9s: release v0.25.12 (#1379) 2021-12-14 23:46:32 -07:00
xray fix #1773 2022-09-26 19:27:43 -06:00
keys.go add resource ref support for sec, sa and cm 2020-05-27 21:23:02 -06:00