Container type: document that SecurityContext applies to Container instead of Pod.

Signed-off-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr>
This commit is contained in:
Cédric de Saint Martin
2020-04-30 09:19:18 +02:00
parent ef9d6f8c93
commit 9fe7891fcd
4 changed files with 6 additions and 4 deletions

View File

@@ -5942,7 +5942,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",