Skip to content

Commit

Permalink
Fix vm-cirros-cluster-csmall VirtualMachineClusterInstancetype name v…
Browse files Browse the repository at this point in the history
…alue.

Change VirtualMachineClusterInstancetype name value from "csmall" to
"cluster-csmall" for making it work with the ClusterInstanceType defined
at cluster-csmall.yaml.

Signed-off-by: Javier Cano Cano <[email protected]>
  • Loading branch information
jcanocan committed Aug 23, 2022
1 parent bcfbd78 commit 832f113
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/vm-cirros-cluster-csmall.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
spec:
instancetype:
kind: VirtualMachineClusterInstancetype
name: csmall
name: cluster-csmall
running: false
template:
metadata:
Expand Down
2 changes: 1 addition & 1 deletion tools/vms-generator/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -1259,7 +1259,7 @@ func GetVmCirrosClusterInstancetypeComputeSmall() *v1.VirtualMachine {
})

vm.Spec.Instancetype = &v1.InstancetypeMatcher{
Name: VirtualMachineInstancetypeComputeSmall,
Name: VirtualMachineClusterInstancetypeComputeSmall,
Kind: "VirtualMachineClusterInstancetype",
}

Expand Down

0 comments on commit 832f113

Please sign in to comment.