mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Merge pull request #24724 from pyle/patch-1
Automatic merge from submit-queue Incorrect attribute - docs - pod-security-context Pod definition had incorrect spelling on attribute `securityContext` Also fixed the flow of Motivation introduction paragraph.
This commit is contained in:
commit
48a2d00981
@ -40,7 +40,7 @@ order to correctly model pod- and container-level security concerns.
|
|||||||
## Motivation
|
## Motivation
|
||||||
|
|
||||||
Currently, containers have a `SecurityContext` attribute which contains information about the
|
Currently, containers have a `SecurityContext` attribute which contains information about the
|
||||||
security settings the container uses. In practice many of these attributes are uniform across all
|
security settings the container uses. In practice, many of these attributes are uniform across all
|
||||||
containers in a pod. Simultaneously, there is also a need to apply the security context pattern
|
containers in a pod. Simultaneously, there is also a need to apply the security context pattern
|
||||||
at the pod level to correctly model security attributes that apply only at a pod level.
|
at the pod level to correctly model security attributes that apply only at a pod level.
|
||||||
|
|
||||||
@ -277,7 +277,7 @@ to implement, explain, and support. Instead, we will approach backward compatib
|
|||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: 1001
|
runAsUser: 1001
|
||||||
- name: b
|
- name: b
|
||||||
securityContest:
|
securityContext:
|
||||||
runAsUser: 1002
|
runAsUser: 1002
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user