Skip to content

Commit

Permalink
Extend MachineStatus to add ProviderID
Browse files Browse the repository at this point in the history
  • Loading branch information
vikaschoudhary16 committed Nov 16, 2018
1 parent 1fe6faa commit 64d4639
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/apis/cluster/v1alpha1/machine_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,11 @@ 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.
// This field must match the provider ID as seen on the node object corresponding to this machine.
// +optional
ProviderID *string `json:"providerID,omitempty"`

// Addresses is a list of addresses assigned to the machine. Queried from cloud provider, if available.
// +optional
Expand Down
5 changes: 5 additions & 0 deletions pkg/apis/cluster/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 64d4639

Please sign in to comment.