[RHOCP] Volume mounts are not created with the correct security context

Solution Verified - Updated -

Issue

  • When pods of equal configuration but from different namespaces are created on the same worker, one of these pods will not be able to access the volume mount.
  • example: # ls: cannot open directory '/data': Permission denied

Environment

  • Red Hat Openshift Platform (RHOCP)
    • 4.6
    • 4.7
    • 4.8
    • 4.9
    • 4.10

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