Feature #18964
closedDocker Regsitry Image Name Format on katello
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1344681
1. Proposed title of this feature request
[RFE]Docker Regsitry Image Name Format on katello
3. What is the nature and description of the request?
Typical registry:
myserver.com:5000/org-redhat-openshift3_ose
In the above url
org -> organization name
redhat -> product name
openshift3_ose is the container repository
customer wants this to be
myserver.com:5000/openshift3/ose
We cannot change this in katello by using any workaround
We can modify the default location that ansible uses by including directive oreg_url
We would create repositories for all openshift3 container images on katello using the following format ->
org-redhat-openshift3-ose-${component}.
Example 1:
For OSE docker image: openshift3/ose-docker-builder
then repository will be named org-redhat-openshift3-ose-docker-builder.
Example 2:
For OSE docker image: openshift3/ose-haproxy-router
then repository will be named org-redhat-openshift3-ose-haproxy-router
In the ansible playbook, you can refer the katello registry by using oreg_url
oreg_url=myserver.com:5000/org-redhat-openshift3-ose-${component}:${version}
Ansible will replace the component and version appropriately