mirror of
https://github.com/rancher/types.git
synced 2025-09-17 23:38:20 +00:00
Bring back host field in HttpGet probe
Problem: On redeploy/UI update, httpGet.host in yaml manifest is removed. Solution: Bring it back in API scheme
This commit is contained in:
committed by
Alena Prokharchyk
parent
4f65b5d2da
commit
9e9f110be1
@@ -488,9 +488,6 @@ func podTypes(schemas *types.Schemas) *types.Schemas {
|
||||
AddMapperForType(&Version, v1.PodTemplateSpec{},
|
||||
&m.Embed{Field: "spec"},
|
||||
).
|
||||
AddMapperForType(&Version, v1.HTTPGetAction{},
|
||||
&m.Drop{Field: "host"},
|
||||
).
|
||||
AddMapperForType(&Version, v1.Capabilities{},
|
||||
m.Move{From: "add", To: "capAdd"},
|
||||
m.Move{From: "drop", To: "capDrop"},
|
||||
|
Reference in New Issue
Block a user