github.com/kata-containers/tests@v0.0.0-20240307153542-772105b56064/integration/kubernetes/runtimeclass_workloads/pod-seccomp.yaml (about)

     1  #
     2  # Copyright (c) 2021 Red Hat
     3  #
     4  # SPDX-License-Identifier: Apache-2.0
     5  #
     6  apiVersion: v1
     7  kind: Pod
     8  metadata:
     9    name: seccomp-container
    10  spec:
    11    runtimeClassName: kata
    12    terminationGracePeriodSeconds: 0
    13    restartPolicy: Never
    14    containers:
    15    - name: busybox
    16      image: quay.io/prometheus/busybox:latest
    17      command: ["grep", "Seccomp:", "/proc/self/status"]
    18      securityContext:
    19        seccompProfile:
    20          type: RuntimeDefault