1
0
mirror of https://github.com/rancher/types.git synced 2025-09-24 19:39:13 +00:00

Remove capAdd/capDrop if empty

This commit is contained in:
Alena Prokharchyk
2018-05-25 16:15:20 -07:00
parent 3482812846
commit 01dd042b75
2 changed files with 52 additions and 0 deletions

View File

@@ -448,6 +448,7 @@ func podTypes(schemas *types.Schemas) *types.Schemas {
m.Move{From: "command", To: "entrypoint"},
m.Move{From: "args", To: "command"},
mapper.EnvironmentMapper{},
mapper.ContainerSecurityContext{},
&m.Embed{Field: "securityContext"},
&m.Embed{Field: "lifecycle"},
).