kubectl/pkg/cmd/diff
Douglas Schilling Landgraf bafd13fd9f kubectl: allow users to use args with KUBECTL_EXTERNAL_DIFF
Currently, if users try to use external diff command with arguments
will fail because the entire command won't be available through $PATH.
This patch allow users to use external diff tools with args (or not)
via KUBECTL_EXTERNAL_DIFF env.

Reference: https://github.com/kubernetes/kubectl/issues/937

Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>

Kubernetes-commit: a6158c01b9add5b580059d24cb66e54c37ea2531
2020-10-04 23:29:27 -04:00
..
diff.go kubectl: allow users to use args with KUBECTL_EXTERNAL_DIFF 2020-10-04 23:29:27 -04:00
diff_test.go kubectl: allow users to use args with KUBECTL_EXTERNAL_DIFF 2020-10-04 23:29:27 -04:00