Skip to content

Commit a4c3eee

Browse files
Kamil Przybyldergeberl
authored andcommitted
chore: add a short description for setIPAddresses function
1 parent 5744c59 commit a4c3eee

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pkg/alb/ingress/alb_spec.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,8 @@ func addTargetPool(
415415
})
416416
}
417417

418+
// setIPAddresses configures the Application Load Balancer IP address
419+
// based on IngressClass annotations: internal, ephemeral, or static public IPs.
418420
func setIPAddresses(ingressClass *networkingv1.IngressClass, alb *albsdk.CreateLoadBalancerPayload) error {
419421
isInternalIP, found := ingressClass.Annotations[internalIPAnnotation]
420422
if found && isInternalIP == "true" {

0 commit comments

Comments
 (0)