From 3d34aef5164437db63d94dd701b4fd98750e2826 Mon Sep 17 00:00:00 2001 From: Vincent Boutour Date: Tue, 26 Nov 2024 10:21:41 +0100 Subject: [PATCH] feat(kube): Fixing redundat tty flag Signed-off-by: Vincent Boutour --- sources/kube.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/kube.sh b/sources/kube.sh index 4410d5d3..bb193ac7 100644 --- a/sources/kube.sh +++ b/sources/kube.sh @@ -292,7 +292,7 @@ kube() { shift $((OPTIND - 1)) - _kube_print_and_run "${KUBECTL_COMMAND[@]}" exec --namespace "${RESOURCE_NAMESPACE}" "${RESOURCE_TYPE}/${RESOURCE_NAME}" ${EXTRA_OPTIONS} --tty --stdin -- "${@-/bin/bash}" + _kube_print_and_run "${KUBECTL_COMMAND[@]}" exec --namespace "${RESOURCE_NAMESPACE}" "${RESOURCE_TYPE}/${RESOURCE_NAME}" ${EXTRA_OPTIONS} --stdin -- "${@-/bin/bash}" fi ;;