-
Notifications
You must be signed in to change notification settings - Fork 35
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
Bug 2116686, Bug OCPBUGS-1493: Initial implementation of validation webhooks #76
Conversation
@Fedosin: This pull request references Bugzilla bug 2116686, which is invalid:
Comment 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. |
/bugzilla refresh |
@Fedosin: This pull request references Bugzilla bug 2116686, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
Requesting review from QA contact: 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. |
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 couldn't tell if the test failures are related to this pr, it didn't look like it, but this generally makes sense to me.
/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.
I'd like to see some tests added for this before we merge. Please take a look at the CPMS webhook test for some inspiration on how we might do this.
It would also be good to set up some linting here, again, similar to CPMS
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.
/approve
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JoelSpeed 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 |
/hold |
This patch begins implementing of validation webhooks for CAPI objects. In particular, it validates that Cluster object infrastructure reference has correct value.
@Fedosin: This pull request references Jira Issue OCPBUGS-1493, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. Retaining the bugzilla/valid-bug label as it was manually added. 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. |
@Fedosin: No Bugzilla bug is referenced in the title of this pull request. 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. |
/lgtm |
/retest |
/retest-required |
2 similar comments
/retest-required |
/retest-required |
/hold Revision d2052ac was retested 3 times: holding |
/hold cancel |
/retest-required |
1 similar comment
/retest-required |
/hold this is legitimately broken The test suite downloads the latest version of the CLI instead of building from the source vendored into the project, this causes an issue because when new flags are added, the CLI sends new options to the library which then errors out. We need to make sure the CLI and library version are consistent. |
@JoelSpeed I proposed a fix for CI: #80 |
/hold cancel |
@Fedosin: all tests passed! Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
@Fedosin: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-1493 has been moved to the MODIFIED state. 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. |
This PR starts the implementation of the validation webhooks for CAPI objects.
In particular, it validates that Cluster object infrastructure reference has correct value.