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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.