Skip to content

Commit d5021f2

Browse files
vbhargav875l-technicore
authored andcommitted
Support NLB creation with Mixed Protocols on same port
1 parent 77f9db6 commit d5021f2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/cloudprovider/providers/oci/load_balancer_spec.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,6 @@ const (
201201
// ServiceAnnotationNetworkLoadBalancerNodeFilter is a service annotation to select specific nodes as your backend in the NLB
202202
// based on label selector.
203203
ServiceAnnotationNetworkLoadBalancerNodeFilter = "oci-network-load-balancer.oraclecloud.com/node-label-selector"
204-
205-
ServiceAnnotationNetworkLoadBalancerMixedProtocol = "oci-network-load-balancer.oraclecloud.com/node-label-selector"
206204
)
207205

208206
// certificateData is a structure containing the data about a K8S secret required
@@ -837,7 +835,6 @@ func getListenersNetworkLoadBalancer(svc *v1.Service) (map[string]client.Generic
837835
if !protocolMap[protocol] {
838836
return nil, fmt.Errorf("invalid backend protocol %q requested for network load balancer listener", protocol)
839837
}
840-
841838
port := int(servicePort.Port)
842839
listenerName := ""
843840
backendSetName := ""

0 commit comments

Comments
 (0)