Files
kata-containers/tests/integration/kubernetes/runtimeclass_workloads/initContainer-shared-volume.yaml
Manuel Huber b38ca059d9 tests: pin identity in policy workloads
Add explicit securityContext values to static Kubernetes policy
workloads whose generated policy now includes image-derived identity
data.

Refresh existing guest-pull comments to point at the Limitations
documentation instead of the old issue link.

Signed-off-by: Manuel Huber <manuelh@nvidia.com>
Assisted-by: OpenAI Codex <codex@openai.com>
2026-06-25 23:40:36 +00:00

31 lines
734 B
YAML

#
# Copyright (c) 2019 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
apiVersion: v1
kind: Pod
metadata:
name: initcontainer-shared-volume
spec:
runtimeClassName: kata
securityContext:
supplementalGroups: [10]
initContainers:
- name: first
image: quay.io/prometheus/busybox:latest
command: [ "sh", "-c", "echo ${EPOCHREALTIME//.} > /volume/initContainer" ]
volumeMounts:
- mountPath: /volume
name: volume
containers:
- name: last
image: quay.io/prometheus/busybox:latest
command: [ "sh", "-c", "echo ${EPOCHREALTIME//.} > /volume/container; tail -f /dev/null" ]
volumeMounts:
- mountPath: /volume
name: volume
volumes:
- name: volume
emptyDir: {}