1
0
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:
gitlawr
2019-07-04 17:37:09 +08:00
committed by Alena Prokharchyk
parent 4f65b5d2da
commit 9e9f110be1

View File

@@ -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"},