mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-17 14:24:27 +01:00
tests: nydus: Add uid / namespace to the nydus container / sandbox
Otherwise we may face errors like:
```
getting sandbox status of pod "d3af2db414ce8": metadata.Name,
metadata.Namespace or metadata.Uid is not in metadata
"&PodSandboxMetadata{Name:nydus-sandbox,Uid:,Namespace:default,Attempt:1,}"
getting sandbox status of pod "-A": rpc error: code = NotFound desc = an
error occurred when try to find sandbox: not found
```
Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
metadata:
|
metadata:
|
||||||
name: nydus-container
|
name: nydus-container
|
||||||
|
namespace: default
|
||||||
|
uid: nydus-containerd-uid
|
||||||
image:
|
image:
|
||||||
image: ghcr.io/dragonflyoss/image-service/alpine:nydus-latest
|
image: ghcr.io/dragonflyoss/image-service/alpine:nydus-latest
|
||||||
command:
|
command:
|
||||||
|
|||||||
@@ -2,4 +2,5 @@ metadata:
|
|||||||
attempt: 1
|
attempt: 1
|
||||||
name: nydus-sandbox
|
name: nydus-sandbox
|
||||||
namespace: default
|
namespace: default
|
||||||
|
uid: nydus-sandbox-uid
|
||||||
log_directory: /tmp
|
log_directory: /tmp
|
||||||
|
|||||||
Reference in New Issue
Block a user