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

Add protocol to service.status #2

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading