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

Allow overriding container images used in devfiles #110

Merged
merged 5 commits into from
Oct 10, 2019

Conversation

amisevsk
Copy link
Contributor

@amisevsk amisevsk commented Oct 6, 2019

What does this PR do?

Allow overriding image registry, organization, and tag in devfiles at runtime using the env vars

CHE_DEVFILE_IMAGE_REGISTRY_URL
CHE_DEVFILE_IMAGE_REGISTRY_ORGANIZATION
CHE_DEVFILE_IMAGE_REGISTRY_TAG

Also updates helm charts and OpenShift template.

What issues does this PR fix or reference?

eclipse-che/che#14693

Adds the ability to override the registry url, organization, and tag of
images used in devfiles via environment variables

     CHE_DEVFILE_IMAGE_REGISTRY_URL
     CHE_DEVFILE_IMAGE_REGISTRY_ORGANIZATION
     CHE_DEVFILE_IMAGE_REGISTRY_TAG

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
@amisevsk amisevsk changed the title Override images Allow overriding container images used in devfiles Oct 6, 2019
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
Copy link
Contributor

@nickboldt nickboldt left a comment

Choose a reason for hiding this comment

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

Suggest embedding the logic to start httpd inside the entrypoint script, like we do for the plugin registry, because consistency ;)

@amisevsk
Copy link
Contributor Author

amisevsk commented Oct 9, 2019

Suggest embedding the logic to start httpd inside the entrypoint script, like we do for the plugin registry, because consistency ;)

You just approved a commit that moves the start httpd logic into a CMD ;)

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
@amisevsk
Copy link
Contributor Author

@nickboldt Updated PR, please take another look.

Copy link
Contributor

@nickboldt nickboldt left a comment

Choose a reason for hiding this comment

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

questions posed.

Copy link
Contributor

@nickboldt nickboldt left a comment

Choose a reason for hiding this comment

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

+1 all my complaints were refused or fixed

@amisevsk amisevsk merged commit 8d26ca8 into eclipse-che:master Oct 10, 2019
@amisevsk amisevsk deleted the override-images branch October 10, 2019 21:23
monaka referenced this pull request in PizzaFactory/che-devfile-registry Nov 25, 2019
* Add ability to override images used in devfiles at runtime

Adds the ability to override the registry url, organization, and tag of
images used in devfiles via environment variables

     CHE_DEVFILE_IMAGE_REGISTRY_URL
     CHE_DEVFILE_IMAGE_REGISTRY_ORGANIZATION
     CHE_DEVFILE_IMAGE_REGISTRY_TAG

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
monaka referenced this pull request in PizzaFactory/che-devfile-registry Nov 25, 2019
* Add ability to override images used in devfiles at runtime

Adds the ability to override the registry url, organization, and tag of
images used in devfiles via environment variables

     CHE_DEVFILE_IMAGE_REGISTRY_URL
     CHE_DEVFILE_IMAGE_REGISTRY_ORGANIZATION
     CHE_DEVFILE_IMAGE_REGISTRY_TAG

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
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.

None yet

3 participants