-
Notifications
You must be signed in to change notification settings - Fork 522
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
openshift-maven-plugin: Support for S2I builds to be pushed to external registries #522
Comments
Hi Jauffry, I don't think we've considered this scenario for the OpenShift Maven Plugin. The approach we considered to push to external registries was what you suggested, use Kubernetes Maven Plugin to build and push locally. However, this of course won't work with S2I builds. So I'm guessing that this feature request could be summarized as something like "Support for S2I builds to be pushed to external registries`. We'll certainly look into this. |
Thank you Marc. I'll use the workaround for now, but having this behaviour to be triggered by oc:push (or a combination of oc:build + oc:push) would be awesome. |
Hi @jauffrey This functionality should be covered now by #710 (fabric8io/fabric8-maven-plugin#1054) You can check how it works in this demo https://www.youtube.com/watch?v=zAIARZ-efxk Could you confirm if this is what you were looking for? |
Hi @manusa |
We just released v1.4.0, hopefully this issue should be covered. I'm closing it, in case there's something missing, don't hesitate to open a new issue so we can address it. |
Description
Hello team,
One of my use case is being able to push to an external registry (https://www.openshift.com/blog/pushing-application-images-to-an-external-registry) using a oc:build
The current implementation always creates an ImageStreamTag (org.eclipse.jkube.kit.config.service.openshift.OpenshiftBuildService, l. 216):
I didn't find a way to tune the output, even by updating the BuildConfig, oc:build replaces it.
Maybe I missed something in configuring the build config for oc:build, but I'm not able to change this with the current jKube version.
Any help or other workaround appreciated.
Thanks
Info
mvn -v
) : 3.5.3Kubernetes / Red Hat OpenShift setup and version : Openshift 4.4
If it's a bug, how to reproduce :
If it's a feature request, what is your use case : (see description)
The text was updated successfully, but these errors were encountered: