From 77a4ff681248943a613995959082a6dae2cf7a78 Mon Sep 17 00:00:00 2001 From: Felix Matouschek Date: Thu, 19 Nov 2026 14:05:09 +0100 Subject: [PATCH] fix(hack): use kubectl create to install KubeVirt kubectl apply stores the full manifest in the last-applied-configuration annotation, which exceeds the 256KiB annotation limit for the kubevirts CRD shipped with KubeVirt v1.10.0 and fails the install. Co-Authored-By: Claude Sonnet 5.5 Signed-off-by: Felix Matouschek --- hack/e2e-setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/e2e-setup.sh b/hack/e2e-setup.sh index 91ed0b0..e7cc1cf 100755 --- a/hack/e2e-setup.sh +++ b/hack/e2e-setup.sh @@ -209,8 +209,8 @@ configure_secondary_network() { deploy_kubevirt() { echo "Deploying KubeVirt" - ${KUBECTL} apply -f "https://github.com/kubevirt/kubevirt/releases/download/${KUBEVIRT_VERSION}/kubevirt-operator.yaml" - ${KUBECTL} apply -f "https://github.com/kubevirt/kubevirt/releases/download/${KUBEVIRT_VERSION}/kubevirt-cr.yaml" + ${KUBECTL} create -f "https://github.com/kubevirt/kubevirt/releases/download/${KUBEVIRT_VERSION}/kubevirt-operator.yaml" + ${KUBECTL} create -f "https://github.com/kubevirt/kubevirt/releases/download/${KUBEVIRT_VERSION}/kubevirt-cr.yaml" if ! is_nested_virt_enabled; then echo "Configuring Kubevirt to use emulation"