Skip to content

Commit

Permalink
feat(platform): check firewall for machine (tkestack#2292)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo Ryu committed May 19, 2023
1 parent 45c2bf7 commit 6da07c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/platform/provider/baremetal/validation/machine.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ func ValidateMachineSpec(spec *platform.MachineSpec, cluster *platformv1.Cluster
}
}
}
firewallErrors := ValidateFirewall(fldPath, []*ssh.SSH{s})
allErrs = append(allErrs, firewallErrors...)

return allErrs
}
Expand Down

0 comments on commit 6da07c5

Please sign in to comment.