mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-22 01:07:34 +00:00
tests: more k8s-exec-rejected debug output
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>
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#
|
||||
# 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"
|
Reference in New Issue
Block a user