Skip to content

Commit 6da07c5

Browse files
authored
feat(platform): check firewall for machine (tkestack#2292)
1 parent 45c2bf7 commit 6da07c5

File tree

1 file changed

+2
-0
lines changed
  • pkg/platform/provider/baremetal/validation

1 file changed

+2
-0
lines changed

pkg/platform/provider/baremetal/validation/machine.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ func ValidateMachineSpec(spec *platform.MachineSpec, cluster *platformv1.Cluster
7878
}
7979
}
8080
}
81+
firewallErrors := ValidateFirewall(fldPath, []*ssh.SSH{s})
82+
allErrs = append(allErrs, firewallErrors...)
8183

8284
return allErrs
8385
}

0 commit comments

Comments
 (0)