mirror of
https://github.com/rancher/types.git
synced 2025-08-01 04:57:05 +00:00
Make node annotation editable
This commit is contained in:
parent
3aced2bfa2
commit
e09365c769
@ -348,6 +348,10 @@ func nodeTypes(schemas *types.Schemas) *types.Schemas {
|
||||
labelField.Create = true
|
||||
labelField.Update = true
|
||||
schema.ResourceFields["labels"] = labelField
|
||||
annotationField := schema.ResourceFields["annotations"]
|
||||
annotationField.Create = true
|
||||
annotationField.Update = true
|
||||
schema.ResourceFields["annotations"] = annotationField
|
||||
unschedulable := schema.ResourceFields["unschedulable"]
|
||||
unschedulable.Create = false
|
||||
unschedulable.Update = false
|
||||
|
Loading…
Reference in New Issue
Block a user