-
Notifications
You must be signed in to change notification settings - Fork 16.4k
fix: update pgbouncer and pgbouncer-exporter images #29792
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
Conversation
|
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contribution Guide (https://github.com/apache/airflow/blob/main/CONTRIBUTING.rst)
|
|
Thanks. Images built and pushed. I will add a change to the chart to use them. |
|
Awesome work, congrats on your first merged pull request! |
The images for pgbouncer and pgbouncer exporter have been refreshed with latest working for pgbounced alpine images and pgbpuncer versions. This PR switches to those images by default. Follow up after apache#29792
|
@potiuk It appears only an arm64 image was built and pushed. Can you push an amd64 image please? |
|
Yes - we have an issue to make multi-platform images #29967 but I pushed the AMD images just now. Thanks for notifying it @andrew-stein-sp |
This PR brings the pgbouncer and pgbouncer-exporter images to more recent versions.
pgbouncer: 1.16.1
pgbouncer: 0.14.0
It's not the most recent pgbouncer version, though.
pgbouncer is limited to 1.16.1 since pgbouncer-exporter does not support 1.18.0.
I was not able to build from a more recent version of alpine than 3.14.
It returns the following error when building with alpine >= 3.15:
docker build TLS error output
It builds successfully when using
opensslinstead oflibressl, but the container was crashing soon after launch with a seg fault (SIGSEGV, exit code 139).With
libresslthe container runs fine.I added user "nobody" to prevent the image to be root by default.
The
openssladdition in pgbouncer-exporter Dockerfile is to fix a vulnerability.These changes work fine for my use case (which was purely aimed at removing vulnerabilities). Let me know if somethings needs to change to match others.
Related GitHub discussion: #29110