-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[registry-facade] Split off port for readiness probe #9727
Conversation
0c466cc
to
9b105e0
Compare
I created a setting where I get the same error with the current release. ✔️ Then, I tried these changes. I don't know how other registries behave, however, at least with the Docker registry
returns 404 while
(after a docker login) succeeds. Therefore, registry-facade fails now with:
Any ideas? |
9b105e0
to
b695110
Compare
I've relaxed the status code requirement to accept anything below 500, i.e. 404 no longer makes the probe fail. Thanks @aledbf for the suggestion. Supporting proper "is the image present" probes is more complicated. |
/werft run 👍 started the job as gitpod-build-cw-improve-regfac-probe.4 |
Tested this with my self-hosted setup and it works like a charm! 🚀 |
Description
This PR removes the port from the domain when checking if a registry host is available.
How to test
Run on a self-hosted installation where the artifact registry (not the one we push images to) is configured using a port, e.g.
my-registry.location.com:8080
Release Notes