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 Oct 28, 2018
1 parent 8525414 commit 7614808
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/apis/cluster/v1alpha1/machine_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
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 7614808

Please sign in to comment.