Controlling volumes
The usage of specific volume types
can be controlled by setting the volumes
field of the SCC.
The allowable values of this field correspond to the volume sources that are defined when creating a volume:
-
photonPersistentDisk -
* (A special value to allow the use of all volume types.)
-
none(A special value to disallow the use of all volumes types. Exists only for backwards compatibility.)
The recommended minimum set of allowed volumes for new SCCs are configMap,
downwardAPI, emptyDir, persistentVolumeClaim, secret, and projected.
|
|
This list of allowable volume types is not exhaustive because new types are added with each release of Red Hat OpenShift Container Platform. |
|
|
For backwards compatibility, the usage of |