Resource name constraints (5) (#19122)

xref: #17969, #19099, #18746
This commit is contained in:
Qiming Teng
2020-03-16 12:52:36 +08:00
committed by GitHub
parent 01e7453cdf
commit e0a03c0ebd
6 changed files with 24 additions and 2 deletions
@@ -197,6 +197,8 @@ alias kubectl-user='kubectl --as=system:serviceaccount:psp-example:fake-user -n
Define the example PodSecurityPolicy object in a file. This is a policy that
simply prevents the creation of privileged pods.
The name of a PodSecurityPolicy object must be a valid
[DNS subdomain name](/docs/concepts/overview/working-with-objects/names#dns-subdomain-names).
{{< codenew file="policy/example-psp.yaml" >}}