Skip to content

Commit e9df5e8

Browse files
authored
Merge pull request #5260 from php-coder/scc_allowed_flex_volumes
SCC: document AllowedFlexVolumes field
2 parents 4eeddcf + 1dbdd6b commit e9df5e8

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

architecture/additional_concepts/authorization.adoc

+18
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,24 @@ is set to false but allowed in the `volumes` field, then the `hostPath`
568568
value will be removed from `volumes`.
569569
====
570570

571+
[[authorization-allowed-flex-volumes]]
572+
=== Restricting an Access to Flexvolumes
573+
574+
{product-title} provides additional control of Flexvolumes based on their
575+
driver. When SCC allows the usage of Flexvolumes, pods may request any Flexvolumes.
576+
But when cluster admin specifies driver names in the `AllowedFlexVolumes`
577+
field, pods may use only Flexvolumes with these drivers.
578+
579+
.Example of limiting access to only two Flexvolumes
580+
[source,yaml]
581+
----
582+
volumes:
583+
- flexVolume
584+
allowedFlexVolumes:
585+
- driver: example/lvm
586+
- driver: example/cifs
587+
----
588+
571589
[[authorization-seccomp]]
572590
=== Seccomp
573591

0 commit comments

Comments
 (0)