mirror of
https://github.com/rancher/types.git
synced 2025-09-13 13:33:06 +00:00
Respect natively set host port
This commit is contained in:
@@ -514,6 +514,7 @@ func podTypes(schemas *types.Schemas) *types.Schemas {
|
||||
).
|
||||
AddMapperForType(&Version, v1.ContainerPort{},
|
||||
m.Move{From: "hostIP", To: "hostIp"},
|
||||
m.Copy{From: "hostPort", To: "sourcePort"},
|
||||
m.Drop{Field: "hostPort"},
|
||||
).
|
||||
AddMapperForType(&Version, v1.Handler{},
|
||||
|
Reference in New Issue
Block a user