diff --git a/apis/management.cattle.io/v3/machine_types.go b/apis/management.cattle.io/v3/machine_types.go index 071a273b..f161f233 100644 --- a/apis/management.cattle.io/v3/machine_types.go +++ b/apis/management.cattle.io/v3/machine_types.go @@ -188,6 +188,8 @@ type NodeSpec struct { InternalNodeSpec v1.NodeSpec `json:"internalNodeSpec"` DesiredNodeLabels map[string]string `json:"desiredNodeLabels,omitempty"` DesiredNodeAnnotations map[string]string `json:"desiredNodeAnnotations,omitempty"` + CurrentNodeLabels map[string]string `json:"currentNodeLabels,omitempty"` + CurrentNodeAnnotations map[string]string `json:"currentNodeAnnotations,omitempty"` DesiredNodeUnschedulable string `json:"desiredNodeUnschedulable,omitempty"` NodeDrainInput *NodeDrainInput `json:"nodeDrainInput,omitempty"` } diff --git a/apis/management.cattle.io/v3/schema/schema.go b/apis/management.cattle.io/v3/schema/schema.go index 9da955a5..6695f69f 100644 --- a/apis/management.cattle.io/v3/schema/schema.go +++ b/apis/management.cattle.io/v3/schema/schema.go @@ -229,6 +229,8 @@ func nodeTypes(schemas *types.Schemas) *types.Schemas { &m.Move{From: "nodeAnnotations", To: "annotations"}, &m.Drop{Field: "desiredNodeLabels"}, &m.Drop{Field: "desiredNodeAnnotations"}, + &m.Drop{Field: "currentNodeLabels"}, + &m.Drop{Field: "currentNodeAnnotations"}, &m.Drop{Field: "desiredNodeUnschedulable"}, &m.Drop{Field: "nodeDrainInput"}, &m.AnnotationField{Field: "publicEndpoints", List: true},