Skip to content

Commit

Permalink
MTV-1645 Change default network annotation.
Browse files Browse the repository at this point in the history
Importer pod can get stuck creating if the wrong annotation is set.

Signed-off-by: Matthew Arnold <[email protected]>
  • Loading branch information
mrnold committed Nov 7, 2024
1 parent 9de3139 commit 0236221
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/controller/plan/kubevirt.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ import (
// Annotations
const (
// Transfer network annotation (value=network-attachment-definition name)
AnnDefaultNetwork = "v1.multus-cni.io/default-network"
AnnDefaultNetwork = "k8s.v1.cni.cncf.io/networks"
// Contains validations for a Kubevirt VM. Needs to be removed when
// creating a VM from a template.
AnnKubevirtValidations = "vm.kubevirt.io/validations"
Expand Down
2 changes: 1 addition & 1 deletion pkg/lib-volume-populator/populator-machinery/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const (
reasonPodFinished = "PopulatorFinished"
reasonPVCCreationError = "PopulatorPVCCreationError"
reasonPopulatorProgress = "PopulatorProgress"
AnnDefaultNetwork = "v1.multus-cni.io/default-network"
AnnDefaultNetwork = "k8s.v1.cni.cncf.io/networks"
AnnPopulatorReCreations = "recreations"

qemuGroup = 107
Expand Down

0 comments on commit 0236221

Please sign in to comment.