mirror of
https://github.com/rancher/types.git
synced 2025-09-12 13:03:45 +00:00
Fix scale on types
This commit is contained in:
@@ -132,9 +132,8 @@ func statefulSetTypes(schemas *types.Schemas) *types.Schemas {
|
||||
).
|
||||
AddMapperForType(&Version, v1beta2.StatefulSetSpec{},
|
||||
&m.Move{
|
||||
From: "replicas",
|
||||
To: "scale",
|
||||
DestDefined: true,
|
||||
From: "replicas",
|
||||
To: "scale",
|
||||
},
|
||||
&m.Embed{Field: "updateStrategy"},
|
||||
&m.Enum{
|
||||
@@ -176,9 +175,8 @@ func replicaSetTypes(schemas *types.Schemas) *types.Schemas {
|
||||
return schemas.
|
||||
AddMapperForType(&Version, v1beta1.ReplicaSetSpec{},
|
||||
&m.Move{
|
||||
From: "replicas",
|
||||
To: "scale",
|
||||
DestDefined: true,
|
||||
From: "replicas",
|
||||
To: "scale",
|
||||
},
|
||||
&m.Move{
|
||||
From: "minReadySeconds",
|
||||
@@ -205,9 +203,8 @@ func replicationControllerTypes(schemas *types.Schemas) *types.Schemas {
|
||||
return schemas.
|
||||
AddMapperForType(&Version, v1.ReplicationControllerSpec{},
|
||||
&m.Move{
|
||||
From: "replicas",
|
||||
To: "scale",
|
||||
DestDefined: true,
|
||||
From: "replicas",
|
||||
To: "scale",
|
||||
},
|
||||
&m.Move{
|
||||
From: "minReadySeconds",
|
||||
|
Reference in New Issue
Block a user