fabric8io / fabric8-maven-plugin

📢 This project is migrated to 👉 https://github.com/eclipse/jkube
Apache License 2.0
334 stars 202 forks source link

We are using docker registry in Openshift. But plugin is using image stream only. #1749

Open jasonshou opened 4 years ago

jasonshou commented 4 years ago

Could you add this feature? Build in Openshift, but using docker registry to pull/push images. I modified some code to skip force image stream check and get a success build.

rohanKanojia commented 4 years ago

@jasonshou : Our plugin has a flag of fabric8.build.strategy in which a normal docker build is done by the Openshift cluster and not by a docker deamon . In addition this build pushes the generated image to the Openshift internal registry so that it is accessible in the whole cluster.

It also updates an ImageStream after the image creation. If you've already tried that out and it doesn't work for you. I think we can add a flag to skip ImageStream check

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!

rohanKanojia commented 4 years ago

@jasonshou : Could you please provide your feedback on this issue? Is it still relevant to your use case?

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!