-
Notifications
You must be signed in to change notification settings - Fork 549
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
feat: add capkk CRDs #2409
feat: add capkk CRDs #2409
Conversation
c2b8613
to
6256e13
Compare
This PR has multiple commits, and the default merge method is: squash. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Quality Gate passedIssues Measures |
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.
add make command
to generate it.
// +optional | ||
ConfigRef *corev1.ObjectReference `json:"configRef,omitempty"` | ||
|
||
// ConfigRef is the reference of Pipeline. |
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.
comments are wrong
// ControlPlaneGroupName is the group name of kubernetes control plane nodes. | ||
// +optional | ||
ControlPlaneGroupName string `json:"controlPlaneGroupName,omitempty"` | ||
|
||
// WorkerGroupName is the group name of kubernetes worker nodes. | ||
// +optional | ||
WorkerGroupName string `json:"workerGroupName,omitempty"` | ||
|
||
// ClusterGroupName is the group name of kubernetes cluster, which contains control plane group and worker group. | ||
// +optional | ||
ClusterGroupName string `json:"clusterGroupName,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.
it's batter to set it in annotations
ConfigRef *corev1.ObjectReference `json:"configRef,omitempty"` | ||
|
||
// ConfigRef is the reference of Pipeline. | ||
PipelineRef *corev1.ObjectReference `json:"pipelineRef,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.
it batter set it in annotation or label. It is the pipeline that is created through kkcluster, not that kkcluster’s creation depends on the pipeline.
// can be added as events to the Machine object and/or logged in the | ||
// controller's output. | ||
// +optional | ||
FailureReason *errors.MachineStatusError `json:"failureReason,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.
errors.MachineStatusError or errors.ClusterStatusError
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: dbbDylan 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 |
This reverts commit 2ff308d.
All suggestions have been adjusted in PR#2426 |
What type of PR is this?
/kind feature
/kind design
What this PR does / why we need it:
Add & Update CRDs which is CAPKK needed.
Special notes for reviewers:
Does this PR introduced a user-facing change?
Additional documentation, usage docs, etc.: