Build process not honoring annotation

Solution Unverified - Updated -


Build process doesn't use the given source secret based on the annotation when connecting to remote repositories (GIT or HTTPS).


$ oc new-project myapp-test1
$ oc new-app https://my-git-server.local/openshift/nodejs-ex.git
$ oc create secret generic companyca --from-file=ca.crt=companyca.crt
$ oc annotate secret companyca '*'
$ oc secrets link builder companyca
$ oc start-build bc/nodejs-ex
$ oc logs -f bc/nodejs-ex
Cloning "https://my-git-server.local/openshift/nodejs-ex.git" ...
error: fatal: unable to access 'https://my-git-server.local/openshift/nodejs-ex.git/': Peer's Certificate issuer is not recognized.


  • Red Hat OpenShift Container Platform 3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In