docs/concepts/policy/pod-security-policy.md: add projected to list of allowed types.
This commit is contained in:
committed by
Andrew Chen
parent
8c881a35cd
commit
1bed34e5c9
@@ -122,7 +122,7 @@ to the volume sources that are defined when creating a volume:
|
|||||||
1. \* (allow all volumes)
|
1. \* (allow all volumes)
|
||||||
|
|
||||||
The recommended minimum set of allowed volumes for new PSPs are
|
The recommended minimum set of allowed volumes for new PSPs are
|
||||||
configMap, downwardAPI, emptyDir, persistentVolumeClaim, and secret.
|
configMap, downwardAPI, emptyDir, persistentVolumeClaim, secret, and projected.
|
||||||
|
|
||||||
### Host Network
|
### Host Network
|
||||||
- *HostPorts*, default `empty`. List of `HostPortRange`, defined by `min`(inclusive) and `max`(inclusive), which define the allowed host ports.
|
- *HostPorts*, default `empty`. List of `HostPortRange`, defined by `min`(inclusive) and `max`(inclusive), which define the allowed host ports.
|
||||||
@@ -168,7 +168,7 @@ $ kubectl get psp
|
|||||||
NAME PRIV CAPS SELINUX RUNASUSER FSGROUP SUPGROUP READONLYROOTFS VOLUMES
|
NAME PRIV CAPS SELINUX RUNASUSER FSGROUP SUPGROUP READONLYROOTFS VOLUMES
|
||||||
permissive false [] RunAsAny RunAsAny RunAsAny RunAsAny false [*]
|
permissive false [] RunAsAny RunAsAny RunAsAny RunAsAny false [*]
|
||||||
privileged true [] RunAsAny RunAsAny RunAsAny RunAsAny false [*]
|
privileged true [] RunAsAny RunAsAny RunAsAny RunAsAny false [*]
|
||||||
restricted false [] RunAsAny MustRunAsNonRoot RunAsAny RunAsAny false [emptyDir secret downwardAPI configMap persistentVolumeClaim]
|
restricted false [] RunAsAny MustRunAsNonRoot RunAsAny RunAsAny false [emptyDir secret downwardAPI configMap persistentVolumeClaim projected]
|
||||||
```
|
```
|
||||||
|
|
||||||
## Editing a Pod Security Policy
|
## Editing a Pod Security Policy
|
||||||
|
|||||||
Reference in New Issue
Block a user