mirror of
https://github.com/rancher/types.git
synced 2025-09-18 16:10:58 +00:00
add stopDrain action for node
This commit is contained in:
committed by
Alena Prokharchyk
parent
bf4e7bc45d
commit
b99fdf3b4c
@@ -247,6 +247,7 @@ func nodeTypes(schemas *types.Schemas) *types.Schemas {
|
||||
schema.ResourceFields["clusterId"] = clusterField
|
||||
schema.ResourceActions["cordon"] = types.Action{}
|
||||
schema.ResourceActions["uncordon"] = types.Action{}
|
||||
schema.ResourceActions["stopDrain"] = types.Action{}
|
||||
schema.ResourceActions["drain"] = types.Action{
|
||||
Input: "nodeDrainInput",
|
||||
}
|
||||
|
Reference in New Issue
Block a user