Add name to service port

This commit is contained in:
2022-06-01 16:56:54 +02:00
parent ac2382735c
commit 1350a26162

View File

@@ -35,7 +35,7 @@ func NewServicePort(port, target int) *ServicePort {
Protocol: "TCP",
Port: port,
TargetPort: port,
Name: "port-" + strconv.Itoa(port),
Name: "port-" + strconv.Itoa(target),
}
}