github.com/containers/libpod@v1.9.4-0.20220419124438-4284fd425507/test/e2e/test.yaml (about)

     1  # Save the output of this file and use kubectl create -f to import
     2  # it into Kubernetes.
     3  #
     4  # Created with podman-1.6.2
     5  apiVersion: v1
     6  kind: Pod
     7  metadata:
     8    labels:
     9      app: test
    10    name: test
    11  spec:
    12    containers:
    13    - command:
    14      - sleep
    15      - "100"
    16      env:
    17      - name: PATH
    18        value: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    19      - name: TERM
    20        value: xterm
    21      - name: container
    22        value: podman
    23      image: docker.io/library/fedora:latest
    24      name: test
    25      resources: {}
    26      securityContext:
    27        runAsUser: 1000
    28        runAsGroup: 3000
    29        fsGroup: 2000
    30        allowPrivilegeEscalation: true
    31        capabilities: {}
    32        privileged: false
    33        seLinuxOptions:
    34  	  level: "s0:c1,c2"
    35        readOnlyRootFilesystem: false
    36      workingDir: /
    37  status: {}