-
Notifications
You must be signed in to change notification settings - Fork 592
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
Use Webhook API to v1 #3409
Use Webhook API to v1 #3409
Conversation
/lgtm |
/test pull-knative-eventing-upgrade-tests |
/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.
this looks good!
/lgtm
/approve
But, I guess the tests are failing, since the upgrade is IMO wrong.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: anishj0shi, matzew, vaikas 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 |
/test pull-knative-eventing-upgrade-tests |
@matzew any clue on how can I fix these upgrade tests? |
I've not check the logs, sorry |
I guess, something wrong, with applying this in the upgrade phase ? Perhaps worth to run some of that locally for further debugging ? |
pull in the latest |
Hm.. it's actually there eventing/vendor/knative.dev/pkg/webhook/admission.go Lines 92 to 95 in baaaeff
|
I wonder if there's a race where the new webhook k8s deployment should be deployed prior to the webhook configurations |
/retest |
we can check this, by changing the prefix numbers of CRDs in config/ dir, right? |
I'm just surprised knative/serving didn't encounter this |
serving has the webhook.yaml at the bottom of that directory - In my mind that should trigger what you're seeing here. |
Rename 500-webhook.yaml to webhook.yaml Revert "Rename 500-webhook.yaml to webhook.yaml" This reverts commit edc8230.
edc8230
to
9645f44
Compare
/hold Going forward
#2 will unblock this PR but it will require users to upgrade to that point release prior to upgrading Another option is to delay merging this PR until the release after next (ie. skip 0.16 and ship in 0.17). But then I would need to rollback the serving change as well. |
Another option is to delay merging this PR until the release after next
(ie. skip 0.16 and ship in 0.17). But then I would need to rollback the
serving change as well.
shipping in 0.17 seems like a good thing to me
On Thu 25. Jun 2020 at 19:00, Dave Protasowski ***@***.***> wrote:
/hold
Going forward
1. Need to figure out why serving's upgrade test didn't catch this
2. Pull the webhook fix in knative.dev/pkg to older releases branches
and cut a few point releases next Tuesday.
#2 <#2> will unblock this PR but
it will require users to upgrade to that point release prior to upgrading
Another option is to delay merging this PR until the release after next
(ie. skip 0.16 and ship in 0.17). But then I would need to rollback the
serving change as well.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3409 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABGPTUSGLGR2I5ADUJK773RYN7CLANCNFSM4OHKWWWQ>
.
--
Sent from Gmail Mobile
|
Technically conversion web-hooks are also affected - though not all requests need to be converted. I cherry-picked the right changes here: #3416 So as long as end-users upgrade to the point release that comes out on Tuesday they should be able to smoothly update to 0.16 |
Thanks @dprotaso for explaining the situation to me on slack. Here's my current understanding: #3416 will be part of 0.15.2 which will be compatible with v1 webhook api and enable a smooth upgrade. Anyone upgrading from a pre-0.15.2 version may need to attempt the upgrade twice, and there may be some webhook downtime during the upgrade. But that can be avoided by upgrading to 0.15.2 first. That seems fine to me. @anishj0shi can you add a release note to this PR explaining the upgrade situation? |
Note: we'll have to wait for the point release for the |
New point release is out |
weird it didn't pick up the point release
|
This seems wrong Lines 54 to 56 in e1e67cf
with it's use here: Line 106 in e1e67cf
|
The following jobs failed:
Failed non-flaky tests preventing automatic retry of pull-knative-eventing-upgrade-tests:
|
/test pull-knative-eventing-upgrade-tests |
/hold cancel |
/lgtm |
/hold I forgot we should update the release notes |
/lgtm |
/unhold |
Awesome thanks for your patience @anishj0shi while we sorted out the kinks |
Proposed Changes
Also see:
knative/pkg#1444,
knative/serving#8461
Release Note