-
Notifications
You must be signed in to change notification settings - Fork 27
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
Use an nginx proxy server in the metadata server #11
Conversation
Signed-off-by: John Collier <[email protected]>
Signed-off-by: John Collier <[email protected]>
Signed-off-by: John Collier <[email protected]>
Signed-off-by: John Collier <[email protected]>
Signed-off-by: John Collier <[email protected]>
Signed-off-by: John Collier <[email protected]>
Signed-off-by: John Collier <[email protected]>
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.
LGTM, thanks for making the changes!
Signed-off-by: John Collier <[email protected]>
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.
Add LGTM back
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: GeekArthur, johnmcollier The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: John Collier [email protected]
What does does this PR do / why we need it:
Sets up a simple nginx reverse proxy on the metadata-server containe, allowing clients to connect to the OCI registry's v2 api (running on port 5000 in the same pod) to pull devfiles.
This PR also properly reformats the metadata-server container image to be used as a base image for the devfile stacks + index (see devfile/registry#1, and https://github.com/devfile/api/blob/master/docs/proposals/registry/devfile-packaging.md). As a result, this container no longer packages the index.json or devfile stacks and is no longer meant to be deployed directly, but rather be used as a base image for the devfile index image.
Which issue(s) this PR fixes:
devfile/api#190, only partially (see last bullet point)