server: expose container Name and IP
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
5947698818
commit
e1125af435
3 changed files with 17 additions and 1 deletions
|
@ -369,6 +369,9 @@ func (s *Server) RunPodSandbox(ctx context.Context, req *pb.RunPodSandboxRequest
|
|||
for k, v := range kubeAnnotations {
|
||||
g.AddAnnotation(k, v)
|
||||
}
|
||||
for k, v := range labels {
|
||||
g.AddAnnotation(k, v)
|
||||
}
|
||||
|
||||
// extract linux sysctls from annotations and pass down to oci runtime
|
||||
safe, unsafe, err := SysctlsFromPodAnnotations(kubeAnnotations)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue