From 491067a1d9815e1c14e21c6a4ca12bc5c4395445 Mon Sep 17 00:00:00 2001 From: Or Shoval Date: Mon, 9 Sep 2024 09:23:18 +0300 Subject: [PATCH] ipam: Fix script Use kubectl directly so it wont try to cluster install Signed-off-by: Or Shoval --- .../check-patch.e2e-kubevirt-ipam-controller-functests.sh | 2 +- cluster/cert-manager-install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/automation/check-patch.e2e-kubevirt-ipam-controller-functests.sh b/automation/check-patch.e2e-kubevirt-ipam-controller-functests.sh index fc381c5e6..d83f5d4ba 100755 --- a/automation/check-patch.e2e-kubevirt-ipam-controller-functests.sh +++ b/automation/check-patch.e2e-kubevirt-ipam-controller-functests.sh @@ -53,7 +53,7 @@ main() { deploy_cnao deploy_cnao_cr ./hack/deploy-kubevirt.sh - ./cluster/kubectl.sh -n kubevirt patch kubevirt kubevirt --type=merge --patch '{"spec":{"configuration":{"virtualMachineOptions":{"disableSerialConsoleLog":{}}}}}' + kubectl -n kubevirt patch kubevirt kubevirt --type=merge --patch '{"spec":{"configuration":{"virtualMachineOptions":{"disableSerialConsoleLog":{}}}}}' cd ${TMP_COMPONENT_PATH} echo "Run kubevirt-ipam-controller functional tests" diff --git a/cluster/cert-manager-install.sh b/cluster/cert-manager-install.sh index 5de4930fc..55be2904d 100755 --- a/cluster/cert-manager-install.sh +++ b/cluster/cert-manager-install.sh @@ -22,5 +22,5 @@ if [[ $DEPLOY_CERT_MANAGER == true ]]; then CERT_MANAGER_VERSION="v1.14.4" echo "Installing cert-manager..." manifest="https://github.com/cert-manager/cert-manager/releases/download/${CERT_MANAGER_VERSION}/cert-manager.yaml" - ./cluster/kubectl.sh apply -f "$manifest" + kubectl apply -f "$manifest" fi