-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
✨ Add validation to nested ObjectMeta fields #8431
✨ Add validation to nested ObjectMeta fields #8431
Conversation
Hi @LuBingtan. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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/test-infra repository. |
b2a8841
to
e32f8f3
Compare
/ok-to-test cc @ykakarap @killianmuldoon |
Sure, I'll add some unit tests |
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.
Looks good - I think it might be better to have this function as an internal implementation - but I don't feel too strongly about it.
If it's moved internal it will have to be a standalone function and take clusterv1.ObjectMeta as a parameter.
e32f8f3
to
f1129eb
Compare
/retest pull-cluster-api-test-main |
@LuBingtan: The
The following commands are available to trigger optional jobs:
Use
In response to this:
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/test-infra repository. |
/retest |
Hi @killianmuldoon @fabriziopandini |
f1129eb
to
445bbf8
Compare
445bbf8
to
dee1bdf
Compare
dee1bdf
to
1239557
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.
From my side:
/lgtm
LGTM label has been added. Git tree hash: d2b3869f0f0efd8f546959d74a577f5a1eec1a3f
|
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.
Looks good only minor findings
(sorry for the late review. I think when those two findings are adressed we can merge quickly)
@sbueringer Thanks! Already updated, I believe all comments are addressed. Please take a look again. |
11f5e2a
to
f0caf10
Compare
Thank you very much!! /lgtm |
LGTM label has been added. Git tree hash: 6baf2da8147438dc4e8899f1ddbf7df8cd53236d
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sbueringer 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 |
/area api |
What this PR does / why we need it:
Today we have no validation for nested ObjectMeta fields
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 #8231