Secret content from the volume is not visible inside container in OpenShift

Solution Verified - Updated -

Issue

  • We are trying to use secret data as volume mount inside the Pod but it isn't working. The folder is created correctly according the mountPath but it is empty (no files inside mount path).

Environment

  • Red Hat OpenShift Container Platform
    • 3.X
    • 4.X

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