S2I builds are failing with `error: build error: key https://example.redhat.com contains http[s]:// prefix`
Issue
- Cannot run S2I builds after upgrading to Red Hat OpenShift Container Platform (RHOCP) 4.9.
- S2I builds are failing with the following error:
Generating dockerfile with builder image example.redhat.com/my-container/tool-s2i-java-nodejs:v1
error: build error: key https://example.redhat.com contains http[s]:// prefix
Environment
- Red Hat OpenShift Container Platform
- 4.9, 4.10
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.