-
Notifications
You must be signed in to change notification settings - Fork 47
api: add EtcdCluster status fields and CRD schema #229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
/ok-to-test |
|
Link to #182 |
ivanvc
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This matches what's in #182. I left only a suggestion. Thanks, @ballista01
api/v1alpha1/etcdcluster_types.go
Outdated
| // LeaderId is the hex-encoded ID of the current etcd cluster leader, if one exists and is known. | ||
| // +optional | ||
| LeaderId string `json:"leaderId,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we rename this to LeaderID to match the Go standard?
| // LeaderId is the hex-encoded ID of the current etcd cluster leader, if one exists and is known. | |
| // +optional | |
| LeaderId string `json:"leaderId,omitempty"` | |
| // LeaderID is the hex-encoded ID of the current etcd cluster leader, if one exists and is known. | |
| // +optional | |
| LeaderID string `json:"leaderID,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, it also matches what's in etcdutils.go. Thanks for the suggestion! Applied.
Signed-off-by: Wenxue Zhao <[email protected]>
c257926 to
921dff0
Compare
|
Thanks @ballista01 for the contribution! |
ivanvc
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks, @ballista01.
ahrtr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thank you!
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ahrtr, ballista01, ivanvc The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Extracted from #136 for easier review per #136 (comment). API Changes only, no logic.