Skip to content
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

Generate webhooks with kubebuilder #745

Merged
merged 2 commits into from Mar 25, 2022
Merged

Generate webhooks with kubebuilder #745

merged 2 commits into from Mar 25, 2022

Conversation

emmjohnson
Copy link
Contributor

Changes proposed by this PR

closes #

Release Note

PR Checklist

Note: Please do not remove items. Mark items as done [x] or use strikethrough if you believe they are not relevant

  • Linked to a relevant issue. Eg: Fixes #123 or Updates #123
  • Removed non-atomic or wip commits
  • Filled in the Release Note section above
  • Modified the docs to match changes

@netlify
Copy link

netlify bot commented Mar 24, 2022

Deploy Preview for elated-stonebraker-105904 canceled.

Name Link
🔨 Latest commit 5a17f43
🔍 Latest deploy log https://app.netlify.com/sites/elated-stonebraker-105904/deploys/623e0ab39bf7f7000818844e

#@ load("@ytt:overlay", "overlay")

#@overlay/match by=overlay.subset({"kind": "ValidatingWebhookConfiguration"})

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh interesting, nice that we can do all the changes we need right here with a single overlay 👍

@cirocosta
Copy link
Contributor

huh, quite a few errors that I imagine are unrelated coming from CI:

Screen Shot 2022-03-24 at 1 58 29 PM

Copy link
Contributor

@cirocosta cirocosta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

overall, lgtm! didn't get to run locally, but looks good!

hack/release.sh Outdated Show resolved Hide resolved
@cirocosta
Copy link
Contributor

for anyone looking at this PR - note that we end up with one less ValidatingWebhookConfiguration

^                    clustersupplychainvalidator           ValidatingWebhookConfiguration  -      -   -   -
^                    deliveryvalidator                     ValidatingWebhookConfiguration  -      -   -   -

vs

^                    validating-webhook-configuration      ValidatingWebhookConfiguration  -      -   -   -

but, in the end, we're registering validation for the same gvrs as before (just in a single object instead).

* Register cluster run template webhook

Co-authored-by: Marty Spiewak <mspiewak@vmware.com>
Co-authored-by: Marty Spiewak <mspiewak@vmware.com>
@martyspiewak martyspiewak enabled auto-merge (squash) March 25, 2022 18:53
@martyspiewak martyspiewak merged commit 7852b19 into main Mar 25, 2022
@martyspiewak martyspiewak deleted the kubebuilder-webhooks branch March 25, 2022 19:14
@martyspiewak martyspiewak mentioned this pull request Mar 29, 2022
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants