summaryrefslogtreecommitdiff
path: root/test/e2e/cdi/device.json
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-04-26 09:31:06 -0400
committerGitHub <noreply@github.com>2021-04-26 09:31:06 -0400
commitfef3ea80aa597fb8fb0cb133b4d7410d1e2a65d6 (patch)
treec11b5aff7eb871af2ed6375bd4adc600bf43ea88 /test/e2e/cdi/device.json
parent333817a187f7811919b9f5fb75a829fe5abfbc44 (diff)
parentdb7cff8c86a35a4b1971c3fbb2365eff9cc205d4 (diff)
downloadpodman-fef3ea80aa597fb8fb0cb133b4d7410d1e2a65d6.tar.gz
podman-fef3ea80aa597fb8fb0cb133b4d7410d1e2a65d6.tar.bz2
podman-fef3ea80aa597fb8fb0cb133b4d7410d1e2a65d6.zip
Merge pull request #10081 from sjug/cdi_device_lib
Add support for CDI device configuration
Diffstat (limited to 'test/e2e/cdi/device.json')
-rw-r--r--test/e2e/cdi/device.json14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/e2e/cdi/device.json b/test/e2e/cdi/device.json
new file mode 100644
index 000000000..f49470c88
--- /dev/null
+++ b/test/e2e/cdi/device.json
@@ -0,0 +1,14 @@
+{
+ "cdiVersion": "0.2.0",
+ "kind": "vendor.com/device",
+ "devices": [
+ {
+ "name": "myKmsg",
+ "containerEdits": {
+ "mounts": [
+ {"hostPath": "/dev/kmsg", "containerPath": "/dev/kmsg1", "options": ["rw", "rprivate", "rbind"]}
+ ]
+ }
+ }
+ ]
+}