remove firewall requirement for ingress node

This commit is contained in:
abhishek9686 2024-11-07 11:42:57 +04:00
parent 06e414f0e8
commit 4cf6771b11

View file

@ -150,9 +150,6 @@ func CreateIngressGateway(netid string, nodeid string, ingress models.IngressReq
if host.OS != "linux" {
return models.Node{}, errors.New("ingress can only be created on linux based node")
}
if host.FirewallInUse == models.FIREWALL_NONE {
return models.Node{}, errors.New("firewall is not supported for ingress gateways")
}
network, err := GetParentNetwork(netid)
if err != nil {