-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
some typo fix #4937
some typo fix #4937
Conversation
/lgtm |
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.
@liwjGhostcloud Thanks for the contributions! Do you mind making a few adjustments so we can have the same changes on each version of the API?
You'll also need to follow the directions here to regenerate the apireference docs: https://github.com/kubernetes/kops/tree/master/docs/apireference
Thanks so much!
@@ -384,7 +384,7 @@ type ClusterSubnetSpec struct { | |||
Egress string `json:"egress,omitempty"` | |||
// Type define which one if the internal types (public, utility, private) the network is | |||
Type SubnetType `json:"type,omitempty"` | |||
// PublicIP to attatch to NatGateway | |||
// PublicIP to attach to NatGateway | |||
PublicIP string `json:"publicIP,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.
Great finds! Can you add these to the other versions of this file:
https://github.com/kubernetes/kops/blob/master/pkg/apis/kops/v1alpha1/cluster.go
https://github.com/kubernetes/kops/blob/master/pkg/apis/kops/v1alpha2/cluster.go
This helps keeping the docs for the different versions the same!
@@ -89,7 +89,7 @@ type InstanceGroupSpec struct { | |||
Kubelet *KubeletConfigSpec `json:"kubelet,omitempty"` | |||
// Taints indicates the kubernetes taints for nodes in this group | |||
Taints []string `json:"taints,omitempty"` | |||
// AdditionalUserData is any aditional user-data to be passed to the host |
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 you check to see if this mistake also exists on:
https://github.com/kubernetes/kops/blob/master/pkg/apis/kops/v1alpha2/instancegroup.go
https://github.com/kubernetes/kops/blob/master/pkg/apis/kops/instancegroup.go
/assign |
/lgtm cancel @mikesplain I think you had some comments, and I removed the lgtm so they can be addressed. |
when i exec |
@liwjGhostcloud we broke the docs API docs generator when we moved to dep. If you could help with that, it would be amazing! |
Going to merge and fix-up any api docs problems. Thanks for the fixes @liwjGhostcloud /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: justinsb, liwjGhostcloud, rdrgmnzs 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 |
there are some typo fix