server: store kubeName in annotations

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca 2017-05-08 09:15:00 +02:00
parent 88b8a9efe1
commit b7ba9d058b
No known key found for this signature in database
GPG key ID: B2BEAD150DE936B9
2 changed files with 2 additions and 0 deletions

View file

@ -265,6 +265,7 @@ func (s *Server) RunPodSandbox(ctx context.Context, req *pb.RunPodSandboxRequest
g.AddAnnotation("ocid/privileged_runtime", fmt.Sprintf("%v", privileged))
g.AddAnnotation("ocid/resolv_path", resolvPath)
g.AddAnnotation("ocid/hostname", hostname)
g.AddAnnotation("ocid/kube_name", kubeName)
sb := &sandbox{
id: id,