mirror of
https://github.com/rancher/types.git
synced 2025-05-09 07:36:18 +00:00
update default for ignoreDaemonSets
This commit is contained in:
parent
42b3abe8e3
commit
1fae495895
@ -379,7 +379,11 @@ func nodeTypes(schemas *types.Schemas) *types.Schemas {
|
||||
Update: false,
|
||||
}
|
||||
}).
|
||||
MustImport(&Version, v3.NodeDrainInput{}).
|
||||
MustImportAndCustomize(&Version, v3.NodeDrainInput{}, func(schema *types.Schema) {
|
||||
dsField := schema.ResourceFields["ignoreDaemonSets"]
|
||||
test := true
|
||||
dsField.Default = &test
|
||||
}).
|
||||
MustImportAndCustomize(&Version, v3.Node{}, func(schema *types.Schema) {
|
||||
labelField := schema.ResourceFields["labels"]
|
||||
labelField.Create = true
|
||||
|
Loading…
Reference in New Issue
Block a user