From 3b3ee3960a9904da1edc4c1c3cb27ab5e0a6648a Mon Sep 17 00:00:00 2001 From: Tom Wieczorek Date: Tue, 24 Sep 2024 11:22:43 +0200 Subject: [PATCH] Call supportbundle binary directly Now that the kubectl binary is no longer part of the integration test Docker image, calling the supportbundle binary as a kubectl plugin no longer works. Signed-off-by: Tom Wieczorek --- .../root/usr/local/bin/troubleshoot-k0s-inttest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inttest/bootloose-alpine/root/usr/local/bin/troubleshoot-k0s-inttest.sh b/inttest/bootloose-alpine/root/usr/local/bin/troubleshoot-k0s-inttest.sh index 6baeb165c1b2..9ae5c178a1a6 100755 --- a/inttest/bootloose-alpine/root/usr/local/bin/troubleshoot-k0s-inttest.sh +++ b/inttest/bootloose-alpine/root/usr/local/bin/troubleshoot-k0s-inttest.sh @@ -11,7 +11,7 @@ export KUBECONFIG="$1/pki/admin.conf" bundleDir="$(mktemp -d)" trap 'rm -rf -- "$bundleDir"' INT EXIT -kubectl supportbundle \ +kubectl-supportbundle \ --debug \ --interactive=false \ --output="$bundleDir/support-bundle.tar.gz" \