mirror of
https://github.com/kubevirt/kubevirt.core.git
synced 2026-11-21 14:48:37 +00:00
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 <noreply@anthropic.com> Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
95e16a411b
commit
77a4ff6812
+2
-2
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user