Source clone secrets do not automatically mount in some circumstances

Solution Verified - Updated -

Issue

  • Source secret with ssh key for private GitHub repo does not auto-attach to build config (bc) when app is created in web console, but works with oc new-app on CLI
  • Source secret using GitHub token for https works on buildconfig created with web console, but not with commandline creation
  • I would expect that the build config should have the secret automatically added regardless of if the app is created from the web console, or the CLI.

Environment

  • Red Hat OpenShift Container Platform
    • 3.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content