Is there any equivalent of allowedHostPaths from PodSecurityPolicy in SCC in Red Hat OpenShift Container Platform?

Solution Verified - Updated -

Issue

Is there any equivalent of allowedHostPaths from PodSecurityPolicy in Security Context Constraints (SCC) in Red Hat OpenShift Container Platform?

The goal is to limit a Pod's hostPaths the same as with upstream kubernetes PodSecurityPolicy:
https://kubernetes.io/docs/concepts/policy/pod-security-policy/#volumes-and-file-systems

Environment

Red Hat OpenShift Container Platform

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