oc new-app command using s2i with private Github repo fails
Issue
- The oc new-app command using a private Git repository no longer works with the private Git repository as seen below :
oc new-app git@github.com:example/test-oc-newapp.git --source-secret github-repo-key --name test-app
warning: Cannot check if git requires authentication.
error: local file access failed with: stat git@github.com:example/test-oc-newapp.git: no such file or directory
error: unable to locate any images in image streams, templates loaded in accessible projects, template files, local docker images with name "git@github.com:example/test-oc-newapp.git
Environment
- Red Hat Openshift Container Platform
- 4.10
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.