-
Notifications
You must be signed in to change notification settings - Fork 455
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
fix(api): resolve all api voilation exceptions in katib api #2482
fix(api): resolve all api voilation exceptions in katib api #2482
Conversation
896141d
to
52d52aa
Compare
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.
Basically LGTM! Thanks for your great contribution @truc0. Welcome to Kubeflow Community🎉
/assign @kubeflow/wg-automl-leads @helenxie-bit @tariq-hasan
@@ -27,6 +27,9 @@ type AlgorithmSpec struct { | |||
AlgorithmName string `json:"algorithmName,omitempty"` | |||
|
|||
// Key-value pairs representing settings for suggestion algorithms. | |||
// +listType=map | |||
// +listMapKey=Name | |||
// +optional |
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.
I think, we may not need the +optional
tag, and the same as other +optional
tag you added:)
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.
Thanks for pointing out.
I have removed all +optional
mark in the updated version (8802b0f)~
PTAL if you have time.
Thank you for your contribution and welcome to the Kubeflow community! The changes look good and I don’t have additional comments. LGTM! 😄 |
/rerun-all |
d92c338
to
8802b0f
Compare
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 for your great contributions!
/lgtm
/rerun-all |
1 similar comment
/rerun-all |
8802b0f
to
a062fd1
Compare
Thanks for your advice. The latest version (a062fd1) has rebased. |
/ok-to-test |
/rerun-all |
2 similar comments
/rerun-all |
/rerun-all |
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.
Thank you for this contribution @truc0!
@@ -27,6 +27,8 @@ type AlgorithmSpec struct { | |||
AlgorithmName string `json:"algorithmName,omitempty"` | |||
|
|||
// Key-value pairs representing settings for suggestion algorithms. | |||
// +listType=map | |||
// +listMapKey=Name |
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.
Should this Name be lowercase, like here: https://github.com/kubeflow/training-operator/blob/master/pkg/apis/kubeflow.org/v2alpha1/trainjob_types.go#L210 ?
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.
Thanks for pointing out! The latest version (34a9991) has updated all listMapKey
to lowercase (the same as the key specified in json
format).
@@ -78,30 +80,39 @@ type ExperimentStatus struct { | |||
LastReconcileTime *metav1.Time `json:"lastReconcileTime,omitempty"` | |||
|
|||
// List of observed runtime conditions for this Experiment. | |||
// +listType=map | |||
// +listMapKey=Type |
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.
Same question for Type.
Signed-off-by: truc0 <[email protected]>
a062fd1
to
34a9991
Compare
/rerun-all |
3 similar comments
/rerun-all |
/rerun-all |
/rerun-all |
/rerun-all |
1 similar comment
/rerun-all |
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.
Thank you for this great contribution @truc0!
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andreyvelich, Electronic-Waste 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 |
Thanks for your great contribution @truc0 ! And also, welcome to the Kubeflow Community! 🎉 Wish it a memorable journey for you to explore Kubeflow:) |
What this PR does / why we need it:
hack/violation_exception_v1beta1
katib/hack/violation_exception_v1beta1.list
Lines 1 to 30 in eb8af4d
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #2479
Checklist: