Skip to content

fix(entrypoint.sh): correct HTTP header parsing for cert tool check #1779

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

Open
wants to merge 1 commit into
base: 6.0.0
Choose a base branch
from

Conversation

cropalato
Copy link

@cropalato cropalato commented Apr 15, 2025

Fix for #1780
Use tail to ensure the last HTTP status code is retrieved for cert tool existence verification in S3 buckets. This is required when using an HTTPS proxy with the container.
The curl behind a proxy will looks like this:

HTTP/1.1 200 Connection established

HTTP/2 200
content-type: text/x-sh
content-length: 36475
...

Use tail to ensure the last HTTP status code is retrieved for cert tool existence verification in S3 buckets.
It is required when you use https proxy with the container.

Signed-off-by: Ricardo Melo <ricardo@cropa.ca>
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.

1 participant