GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — git/github: default GitHub webhooks to TLS verification by Vi-shub · Pull Request #3714 · knative/func Conversation
Contributor
/kind bug Fixes #3713 GitHub’s webhook @davidhadas @lkingland can you please review this. Thanks for your time.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
There was an error while loading. Please reload this page.
|
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Welcome @Vi-shub! It looks like this is your first PR to knative/func 🎉 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Hi @Vi-shub. Thanks for your PR. I'm waiting for a knative member to verify that this patch is reasonable to test. If it is, they should reply with Regular contributors should join the org to skip this step. Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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-sigs/prow repository. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@ ## main #3714 +/- ## ========================================== + Coverage 56.18% 56.98% +0.79% ========================================== Files 181 181 Lines 20928 21116 +188 ========================================== + Hits 11758 12032 +274 + Misses 8007 7861 -146 - Partials 1163 1223 +60
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@lkingland @gauron99 do you recall why we would disable tls here? Tests maybe? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
@Vi-shub welcome, Please recommit with one line changed. As for the actual change - I see it was written like this 3 years ago (#1594) when first added and there is no comments about it in the PR besides the code comment. I suggest the func team review this and take a decision. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
I dont remember this ever changing, might be older than my work here 😄 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Set repository webhook HookConfig insecure_ssl to 0 so GitHub verifies TLS when delivering to HTTPS payload URLs Signed-off-by: Vi-shub <[email protected]>
1e5ad39 to
d032347
Compare
Thanks for catching that you’re right. The large diff was almost certainly from CRLF vs LF on my side (whole file re-normalized), not an intentional reformat. I have reset Codecov should look sane once the diff is actually one line (or a single small hunk) instead of line-ending churn. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@matejvasek @gauron99 can you review this please. Thankyou for your time :) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
/ok-to-test |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Updates the GitHub webhook creation logic in pkg/git/github to default to secure TLS certificate verification when delivering webhooks to HTTPS payload URLs, aligning behavior with GitHub’s recommended insecure_ssl setting and addressing #3713.
Changes:
insecure_ssl default from "1" (skip TLS verification) to "0" (verify TLS) in Client.CreateWebHook.💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
/approve |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: matejvasek, Vi-shub The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
git/github: default repository webhook insecure_ssl to TLS verification ("0")
There was an error while loading. Please reload this page.