Merge pull request #99023 from verb/1.21-securitycontext

Allow setting securityContext in ephemeral containers
This commit is contained in:
Kubernetes Prow Robot
2021-07-09 20:50:46 -07:00
committed by GitHub
9 changed files with 75 additions and 16 deletions

View File

@@ -5523,7 +5523,7 @@
},
"securityContext": {
"$ref": "#/definitions/io.k8s.api.core.v1.SecurityContext",
"description": "SecurityContext is not allowed for ephemeral containers."
"description": "Optional: SecurityContext defines the security options the ephemeral container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext."
},
"startupProbe": {
"$ref": "#/definitions/io.k8s.api.core.v1.Probe",