aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-11-05 21:52:22 +0100
committerGitHub <noreply@github.com>2019-11-05 21:52:22 +0100
commitb4b727256c728295e6a3fcb69593347df9e90b23 (patch)
tree347305da1e3e0c8141b0f54a6451d8b21ff051fc /test
parent7eda1b08401ad9ab430261f2b2d236eb9a834454 (diff)
parent65ed81993223e96243e0380b34afa40296ea11b3 (diff)
downloadpodman-b4b727256c728295e6a3fcb69593347df9e90b23.tar.gz
podman-b4b727256c728295e6a3fcb69593347df9e90b23.tar.bz2
podman-b4b727256c728295e6a3fcb69593347df9e90b23.zip
Merge pull request #4370 from rhatdan/seccomp
Set SELinux labels based on the security context in the kube.yaml
Diffstat (limited to 'test')
-rw-r--r--test/e2e/test.yaml34
1 files changed, 34 insertions, 0 deletions
diff --git a/test/e2e/test.yaml b/test/e2e/test.yaml
new file mode 100644
index 000000000..319d6a4a0
--- /dev/null
+++ b/test/e2e/test.yaml
@@ -0,0 +1,34 @@
+# Save the output of this file and use kubectl create -f to import
+# it into Kubernetes.
+#
+# Created with podman-1.6.2
+apiVersion: v1
+kind: Pod
+metadata:
+ labels:
+ app: test
+ name: test
+spec:
+ containers:
+ - command:
+ - sleep
+ - "100"
+ env:
+ - name: PATH
+ value: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ - name: TERM
+ value: xterm
+ - name: container
+ value: podman
+ image: docker.io/library/fedora:latest
+ name: test
+ resources: {}
+ securityContext:
+ allowPrivilegeEscalation: true
+ capabilities: {}
+ privileged: false
+ seLinuxOptions:
+ level: "s0:c1,c2"
+ readOnlyRootFilesystem: false
+ workingDir: /
+status: {}