diff --git a/pkg/apis/cluster/v1alpha1/machine_types.go b/pkg/apis/cluster/v1alpha1/machine_types.go index 76b87b378f68..0d0b9e38c9d0 100644 --- a/pkg/apis/cluster/v1alpha1/machine_types.go +++ b/pkg/apis/cluster/v1alpha1/machine_types.go @@ -132,6 +132,10 @@ type MachineStatus struct { // serialized/deserialized from this field. // +optional ProviderStatus *runtime.RawExtension `json:"providerStatus,omitempty"` + + // ProviderID is the identification ID of the machine provided by the provider + // +optional + ProviderID *string `json:"providerID,omitempty"` // Addresses is a list of addresses assigned to the machine. Queried from cloud provider, if available. // +optional diff --git a/pkg/apis/cluster/v1alpha1/zz_generated.deepcopy.go b/pkg/apis/cluster/v1alpha1/zz_generated.deepcopy.go index 73598a5475ec..51878fdf9964 100644 --- a/pkg/apis/cluster/v1alpha1/zz_generated.deepcopy.go +++ b/pkg/apis/cluster/v1alpha1/zz_generated.deepcopy.go @@ -611,6 +611,11 @@ func (in *MachineStatus) DeepCopyInto(out *MachineStatus) { *out = new(runtime.RawExtension) (*in).DeepCopyInto(*out) } + if in.ProviderID != nil { + in, out := &in.ProviderID, &out.ProviderID + *out = new(string) + **out = **in + } if in.Addresses != nil { in, out := &in.Addresses, &out.Addresses *out = make([]v1.NodeAddress, len(*in))