1
0
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:
kinarashah
2018-08-14 09:37:45 -07:00
committed by Alena Prokharchyk
parent bf4e7bc45d
commit b99fdf3b4c

View File

@@ -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",
}