Skip to content

Commit

Permalink
Changes VmCirrosInstancetypeComputeSmall to VmCirrosClusterInstancety…
Browse files Browse the repository at this point in the history
…peComputeSmall

Signed-off-by: Javier Cano Cano <[email protected]>
  • Loading branch information
jcanocan committed Sep 6, 2022
1 parent 832f113 commit 63a26bc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions examples/vm-cirros-cluster-csmall.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ apiVersion: kubevirt.io/v1
kind: VirtualMachine
metadata:
labels:
kubevirt.io/vm: vm-cirros-csmall
name: vm-cirros-csmall
kubevirt.io/vm: vm-cirros-cluster-csmall
name: vm-cirros-cluster-csmall
spec:
instancetype:
kind: VirtualMachineClusterInstancetype
Expand All @@ -13,7 +13,7 @@ spec:
template:
metadata:
labels:
kubevirt.io/vm: vm-cirros-csmall
kubevirt.io/vm: vm-cirros-cluster-csmall
spec:
domain:
devices:
Expand Down
4 changes: 2 additions & 2 deletions tools/vms-generator/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -1254,8 +1254,8 @@ func GetVmCirrosInstancetypeComputeSmall() *v1.VirtualMachine {
}

func GetVmCirrosClusterInstancetypeComputeSmall() *v1.VirtualMachine {
vm := getBaseVM(VmCirrosInstancetypeComputeSmall, map[string]string{
kubevirtIoVM: VmCirrosInstancetypeComputeSmall,
vm := getBaseVM(VmCirrosClusterInstancetypeComputeSmall, map[string]string{
kubevirtIoVM: VmCirrosClusterInstancetypeComputeSmall,
})

vm.Spec.Instancetype = &v1.InstancetypeMatcher{
Expand Down

0 comments on commit 63a26bc

Please sign in to comment.