Merge pull request #90635 from desaintmartin/type-container-securitycontext

Container type: document that SecurityContext applies to Container
This commit is contained in:
Kubernetes Prow Robot
2021-05-07 12:05:03 -07:00
committed by GitHub
4 changed files with 6 additions and 4 deletions

View File

@@ -5949,7 +5949,7 @@
},
"securityContext": {
"$ref": "#/definitions/io.k8s.api.core.v1.SecurityContext",
"description": "Security options the pod should run with. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/"
"description": "SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/"
},
"startupProbe": {
"$ref": "#/definitions/io.k8s.api.core.v1.Probe",