From ab67f07a725993ac836d7f08a0825ec320ea4051 Mon Sep 17 00:00:00 2001 From: Lucas Severo Alves Date: Mon, 7 Sep 2020 16:36:32 +0200 Subject: [PATCH] valid input file for deprecations test --- tests/api_check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/api_check.sh b/tests/api_check.sh index 4a8577e..16ac43e 100755 --- a/tests/api_check.sh +++ b/tests/api_check.sh @@ -11,7 +11,7 @@ readonly DIR="$(cd -P "$(dirname "${SOURCE}")" && pwd)" # Move to this directory's parent cd "${DIR}/.." -if ! RES=$(kubectl deprecations 2>&1) +if ! RES=$(kubectl deprecations --input-file Pod/simple.yaml 2>&1) then echo '`kubectl deprecations` did not run ok. You may need to install the krew 'deprecations' package. See https://krew.sigs.k8s.io/' echo 'OUTPUT:'