mirror of
https://github.com/rancher/types.git
synced 2025-09-01 05:09:10 +00:00
Do not drop source port
This commit is contained in:
@@ -514,8 +514,6 @@ 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{},
|
||||
mapper.ContainerProbeHandler{}).
|
||||
|
Reference in New Issue
Block a user