List disallowed ephemeral container fields
Listing these explicitly makes it easier to determine whether a new Container field has been evaluated for use with ephemeral containers. This does not change the behavior of ephemeral containers.
This commit is contained in:
@@ -79,9 +79,15 @@ var allowedEphemeralContainerFields = map[string]bool{
|
||||
"Command": true,
|
||||
"Args": true,
|
||||
"WorkingDir": true,
|
||||
"Ports": false,
|
||||
"EnvFrom": true,
|
||||
"Env": true,
|
||||
"Resources": false,
|
||||
"VolumeMounts": true,
|
||||
"LivenessProbe": false,
|
||||
"ReadinessProbe": false,
|
||||
"StartupProbe": false,
|
||||
"Lifecycle": false,
|
||||
"TerminationMessagePath": true,
|
||||
"TerminationMessagePolicy": true,
|
||||
"ImagePullPolicy": true,
|
||||
|
Reference in New Issue
Block a user