Red Hat Training
A Red Hat training course is available for OpenShift Container Platform
4.2.5.3. 限制对 FlexVolumes 的访问
OpenShift Container Platform 基于其驱动程序提供 FlexVolumes 的额外控制。当 SCC 允许 FlexVolumes 时,pod 可以请求任何 FlexVolumes。但是,当集群管理员在 AllowedFlexVolumes 字段中指定驱动程序名称时,pod 只能使用这些驱动程序的 FlexVolume。
只允许两个 FlexVolume 的限制示例
volumes: - flexVolume allowedFlexVolumes: - driver: example/lvm - driver: example/cifs