mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-30 12:44:39 +00:00
doc: Update crictl pod-config
- Ensure that our documented crictl pod config file contents have uid and namespace fields for compatibility with crictl 1.24+ Fixes: #4513 Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
parent
cfa3e1e933
commit
8f8c2215f4
@ -27,6 +27,8 @@ $ image="quay.io/prometheus/busybox:latest"
|
|||||||
$ cat << EOF > "${pod_yaml}"
|
$ cat << EOF > "${pod_yaml}"
|
||||||
metadata:
|
metadata:
|
||||||
name: busybox-sandbox1
|
name: busybox-sandbox1
|
||||||
|
uid: $(uuidgen)
|
||||||
|
namespace: default
|
||||||
EOF
|
EOF
|
||||||
$ cat << EOF > "${container_yaml}"
|
$ cat << EOF > "${container_yaml}"
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -32,6 +32,7 @@ The `nydus-sandbox.yaml` looks like below:
|
|||||||
metadata:
|
metadata:
|
||||||
attempt: 1
|
attempt: 1
|
||||||
name: nydus-sandbox
|
name: nydus-sandbox
|
||||||
|
uid: nydus-uid
|
||||||
namespace: default
|
namespace: default
|
||||||
log_directory: /tmp
|
log_directory: /tmp
|
||||||
linux:
|
linux:
|
||||||
|
@ -42,6 +42,8 @@ $ image="quay.io/prometheus/busybox:latest"
|
|||||||
$ cat << EOF > "${pod_yaml}"
|
$ cat << EOF > "${pod_yaml}"
|
||||||
metadata:
|
metadata:
|
||||||
name: busybox-sandbox1
|
name: busybox-sandbox1
|
||||||
|
uid: $(uuidgen)
|
||||||
|
namespace: default
|
||||||
EOF
|
EOF
|
||||||
$ cat << EOF > "${container_yaml}"
|
$ cat << EOF > "${container_yaml}"
|
||||||
metadata:
|
metadata:
|
||||||
|
Loading…
Reference in New Issue
Block a user