mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-18 14:54:19 +01:00
Print more information useful for debugging. Also, use a separate YAML file for this test, instead of reusing someone else's file. Fixes: #8270 Signed-off-by: Dan Mihai <dmihai@microsoft.com>
23 lines
458 B
YAML
23 lines
458 B
YAML
#
|
|
# Copyright (c) 2023 Microsoft
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: policy-exec-rejected
|
|
spec:
|
|
terminationGracePeriodSeconds: 0
|
|
shareProcessNamespace: true
|
|
runtimeClassName: kata
|
|
containers:
|
|
- name: first-test-container
|
|
image: quay.io/prometheus/busybox:latest
|
|
env:
|
|
- name: CONTAINER_NAME
|
|
value: "first-test-container"
|
|
command:
|
|
- sleep
|
|
- "120"
|