mirror of
https://github.com/rancher/types.git
synced 2025-06-24 12:41:33 +00:00
Changes to allow nil value for deployment field rollingUpdate
rename mapper field to emptyValueOk
This commit is contained in:
parent
bca7fe2c26
commit
a15097a11b
@ -367,7 +367,7 @@ func cronJobTypes(schemas *types.Schemas) *types.Schemas {
|
||||
func deploymentTypes(schemas *types.Schemas) *types.Schemas {
|
||||
return schemas.
|
||||
AddMapperForType(&Version, v1beta2.DeploymentStrategy{},
|
||||
&m.Embed{Field: "rollingUpdate"},
|
||||
&m.Embed{Field: "rollingUpdate", EmptyValueOk: true},
|
||||
m.Enum{Field: "type", Options: []string{
|
||||
"Recreate",
|
||||
"RollingUpdate",
|
||||
|
Loading…
Reference in New Issue
Block a user