fix: send service ports on lb allocate
deploy / build (push) Successful in 3m7s
Release / release (push) Failing after 4s

This commit is contained in:
2026-08-01 07:25:02 +03:30
parent 10d741ceb6
commit 1ce335d3db
3 changed files with 83 additions and 0 deletions
+7
View File
@@ -10,4 +10,11 @@ type LoadBalancer struct {
type AllocateRequest struct {
Namespace string `json:"namespace"`
Name string `json:"name"`
Ports []AllocatePortRule `json:"ports,omitempty"`
}
type AllocatePortRule struct {
Protocol string `json:"protocol"`
PortFrom int `json:"portFrom"`
PortTo *int `json:"portTo,omitempty"`
}