mirror of
https://github.com/rancher/types.git
synced 2025-07-19 15:56:26 +00:00
Merge pull request #426 from alena1108/may10
Fix for deployment upgrade strategy transformer
This commit is contained in:
commit
43ea779caf
@ -376,7 +376,11 @@ func deploymentTypes(schemas *types.Schemas) *types.Schemas {
|
||||
m.Move{From: "type", To: "strategy"},
|
||||
).
|
||||
AddMapperForType(&Version, v1beta2.DeploymentSpec{},
|
||||
&m.Embed{Field: "strategy"},
|
||||
&m.Move{
|
||||
From: "strategy",
|
||||
To: "upgradeStrategy",
|
||||
},
|
||||
&m.Embed{Field: "upgradeStrategy"},
|
||||
&m.Move{
|
||||
From: "replicas",
|
||||
To: "scale",
|
||||
|
Loading…
Reference in New Issue
Block a user