mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-14 14:14:15 +00: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>
(cherry picked from commit 5ac3b76eb1
)
This commit is contained in:
parent
fd5935da9d
commit
6d9b8e2437
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user