Skip to content
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

Merged
merged 8 commits into from
Nov 19, 2020

Conversation

johnmcollier
Copy link
Member

@johnmcollier johnmcollier commented Nov 17, 2020

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)

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 17, 2020
Copy link
Contributor

@GeekArthur GeekArthur left a 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!

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Nov 18, 2020
@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Nov 19, 2020
Copy link
Contributor

@GeekArthur GeekArthur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add LGTM back

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Nov 19, 2020
@openshift-ci-robot
Copy link

[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:
  • OWNERS [GeekArthur,johnmcollier]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@johnmcollier johnmcollier merged commit 19bad22 into devfile:master Nov 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants