fix runasgroup psp policy (#14121)

This commit is contained in:
krmayankk 2019-05-16 16:06:29 -07:00 committed by Kubernetes Prow Robot
parent 39c37742d1
commit 60006e9164
1 changed files with 2 additions and 4 deletions

View File

@ -493,10 +493,8 @@ recommended with this strategy.
- *MustRunAs* - Requires at least one `range` to be specified. Uses the
minimum value of the first range as the default. Validates against all ranges.
- *MustRunAsNonRoot* - Requires that the pod be submitted with a non-zero
`runAsUser` or have the `USER` directive defined (using a numeric GID) in the
image. No default provided. Setting `allowPrivilegeEscalation=false` is strongly
recommended with this strategy.
- *MayRunAs* - Does not require that RunAsGroup be specified. However, when RunAsGroup
is specified, they have to fall in the defined range.
- *RunAsAny* - No default provided. Allows any `runAsGroup` to be specified.