Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2 from StrongMonkey/fix-acorn-protocol
Browse files Browse the repository at this point in the history
Add protocol to service.status
  • Loading branch information
StrongMonkey authored Nov 7, 2023
2 parents 0579f02 + c7ebc6e commit 49d6195
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion controllers/service/service_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,8 @@ func (r *serviceReconciler) updateServiceStatus(ctx context.Context, lbDNS strin
if svc.Annotations[service.LoadBalancerAllocatingPortKey] == "true" {
for _, port := range svc.Spec.Ports {
ingress.Ports = append(ingress.Ports, corev1.PortStatus{
Port: port.NodePort,
Port: port.NodePort,
Protocol: port.Protocol,
})
}
}
Expand Down

0 comments on commit 49d6195

Please sign in to comment.