Description of problem:
In 'Deploy Image' page beneath 'Image Name', search image from self-signed registry, it displays error (see below)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Prepare secret
REGISTRY=<company-internal-registry> MYUSER=unused MYPASSWORD=<token> MYEMAIL=unused
oc create secret docker-registry mysecret --docker-server=$REGISTRY --docker-username=$MYUSER --docker-password=$MYPASSWORD --docker-email=$MYEMAIL
oc secrets link default mysecret --for=pull
2. In 'Deploy Image' page beneath 'Image Name', search image <company-internal-registry>/xxia-proj/hello-openshift
3. Check CLI as comparison.
1> oc new-app <company-internal-registry>/xxia-proj/hello-openshift --name ho
2> oc new-app <company-internal-registry>/xxia-proj/hello-openshift --name ho --insecure-registry
2. It displays error:
Internal error occurred: Get https://<company-internal-registry>/v2/: x509: certificate signed by unknown authority
The image may not exist or it may be in a secure registry. Check that you have entered the image name correctly or create an image pull secret with your image registry credentials and try again.
1> Without `--insecure-registry`, it displays similar error like web:
Docker registry lookup failed: Get https://<company-internal-registry>/v2/: x509: certificate signed by unknown authority
2> With `--insecure-registry`, it can succeed:
--> Found Docker image e1fdecf (12 days old) from <company-internal-registry> for "<company-internal-registry>/xxia-proj/hello-openshift"
2. Suggest web has checkbox corresponding to `--insecure-registry`
With the introduction of OpenShift 4, Red Hat has delivered or roadmapped a substantial number of features based on feedback by our customers. Many of the enhancements encompass specific RFEs which have been requested, or deliver a comparable solution to a customer problem, rendering an RFE redundant.
This bz (RFE) has been identified as a feature request not yet planned or scheduled for an OpenShift release and is being closed.
If this feature is still an active request that needs to be tracked, Red Hat Support can assist in filing a request in the new JIRA RFE system, as well as provide you with updates as the RFE progress within our planning processes. Please open a new support case: https://access.redhat.com/support/cases/#/case/new
Opening a New Support Case: https://access.redhat.com/support/cases/#/case/new
As the new Jira RFE system is not yet public, Red Hat Support can help answer your questions about your RFEs via the same support case system.