Allow k8s ports to be referenced by name as well as number
This commit is contained in:
parent
6bacbf6cac
commit
d13b755df2
2 changed files with 14 additions and 3 deletions
|
@ -21,7 +21,7 @@ func TestLoadIngresses(t *testing.T) {
|
|||
Path: "/bar",
|
||||
Backend: k8s.IngressBackend{
|
||||
ServiceName: "service1",
|
||||
ServicePort: k8s.FromInt(801),
|
||||
ServicePort: k8s.FromString("http"),
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue