-
1. Re: How to reference Internal Registry?
kumarpraveen.nitdgp Oct 20, 2016 4:45 AM (in response to alininja)In CDK we do expose local registry which openshift create to consume it. registry is exposed to "hub.openshift.rhel-cdk.10.1.2.2.xip.io" provided you didn't change IP before starting CDK box.
Please refer to https://lalatendu.org/2016/06/09/using-the-docker-registry-in-openshift-using-adb/ post which we did for Atomic Developer Bundle (which is upstream to CDK). hope that would solve your issue,
-
2. Re: How to reference Internal Registry?
alininja Oct 20, 2016 12:45 PM (in response to kumarpraveen.nitdgp)Thanks kumarpraveen.nitdgp, I'll give that a try once I resolve this problem: Is it possible to free disk space if using somebody else's Openshift instance?
Thanks and take care!
-
3. Re: How to reference Internal Registry?
alininja Oct 28, 2016 5:21 PM (in response to kumarpraveen.nitdgp)Hey kumarpraveen.nitdgp, your suggestion didn't work for me. But I found a way around my issue.
I used the build config settings to override the FROM directive to force the build process to use the image from the image stream within the openshift infrastructure:
- apiVersion: v1
kind: BuildConfig
spec:
strategy:
type: Docker
dockerStrategy:
from:
kind: "ImageStreamTag"
name: "myapp-dev:latest"
Thanks again for your help!