Skip to content

Commit 9a7ec63

Browse files
committed
generate cpms when the TechPreviewNoUpgrade feature set is enabled
1 parent 01f3ef4 commit 9a7ec63

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pkg/asset/machines/master.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,11 @@ func (m *Master) Generate(dependencies asset.Parents) error {
477477
if err != nil {
478478
return errors.Wrap(err, "failed to create master machine objects")
479479
}
480+
481+
if ic.FeatureSet != configv1.TechPreviewNoUpgrade {
482+
controlPlaneMachineSet = nil
483+
}
484+
480485
vsphere.ConfigMasters(machines, clusterID.InfraID)
481486
case powervstypes.Name:
482487
mpool := defaultPowerVSMachinePoolPlatform()

0 commit comments

Comments
 (0)