Enable labeling containers

Enabling the faasd-provider to label containers

Signed-off-by: Martin Dekov <mvdekov@gmail.com>
This commit is contained in:
Martin Dekov
2020-02-15 20:42:38 +02:00
committed by Alex Ellis
parent 93325b713e
commit 560c295eb0
3 changed files with 14 additions and 2 deletions

View File

@ -107,6 +107,7 @@ func deploy(ctx context.Context, req types.FunctionDeployment, client *container
oci.WithCapabilities([]string{"CAP_NET_RAW"}),
oci.WithMounts(mounts),
oci.WithEnv(envs)),
containerd.WithContainerLabels(*req.Labels),
)
if err != nil {