-
Notifications
You must be signed in to change notification settings - Fork 83
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
Upgrade to distroless envoy #1271
Upgrade to distroless envoy #1271
Conversation
Welcome @jmcgrath207! It looks like this is your first PR to knative-extensions/net-kourier 🎉 |
Hi @jmcgrath207. Thanks for your PR. I'm waiting for a knative-extensions 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-sigs/prow repository. |
@@ -25,8 +25,8 @@ jobs: | |||
|
|||
gateway: | |||
- quay.io/maistra-dev/proxyv2-ubi8:2.4-latest | |||
- docker.io/envoyproxy/envoy:v1.26-latest |
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.
In the tests I think we still want to verify 1.26.
.github/workflows/kind-e2e.yaml
Outdated
- docker.io/envoyproxy/envoy:v1.27-latest | ||
- docker.io/envoyproxy/envoy:distroless-v1.27-latest | ||
- docker.io/envoyproxy/envoy:v1.28-latest |
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.
Envoy is at 1.31 should we update and see what works?
/ok-to-test |
b81ecc8
to
5b9755e
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: jmcgrath207 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/test integration-tests_net-kourier_main |
Thanks for reviewing @skonto. I've added If it looks good, I am ready for integration test approval. |
- docker.io/envoyproxy/envoy:v1.28-latest | ||
- docker.io/envoyproxy/envoy:distroless-v1.26-latest | ||
- docker.io/envoyproxy/envoy:distroless-v1.27-latest | ||
- docker.io/envoyproxy/envoy:distroless-v1.28-latest |
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.
It seems that < 1.28 are EOL see https://github.com/envoyproxy/envoy/blob/main/RELEASES.md#major-release-schedule. Probably better to start with 1.28?
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.
Fixed
I tried grype against 1.31. distroless:
non-distroless:
|
cc @ReToCode if he has any additional comments. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1271 +/- ##
=======================================
Coverage 62.31% 62.31%
=======================================
Files 24 24
Lines 1632 1632
=======================================
Hits 1017 1017
Misses 553 553
Partials 62 62 ☔ View full report in Codecov by Sentry. |
Shutdown checks fail, we dont have curl or sleep in distroless. We either build our own shutdown command |
Hm, building our own command seems a lot of work for this, also adding curl would mean we have to rebuild every new version of envoy docker images (we can’t do that for patches and such). Not sure if having distroless is worth all that effort. +1 for the version bump without it, I’ll do a PR for that. |
Thanks y'all. I am happy with the updated envoy version to the latest and understand the curl entrypoint issue. I am closing this issue. |
Changes
Upgrade envoy to
distroless-v1.27
for less vulnerabilities.Old envoy container.
/kind enhancement