mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-26 07:22:20 +00:00
Rename k8s-exec-rejected.bats to k8s-policy-hard-coded.bats, getting ready to test additional hard-coded policies using the same script. Signed-off-by: Dan Mihai <dmihai@microsoft.com>
23 lines
459 B
YAML
23 lines
459 B
YAML
#
|
|
# Copyright (c) 2023 Microsoft
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: hard-coded-policy-pod
|
|
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"
|