Signed-off-by: gaohuatao <gaohuatao@huawei.com> (cherry picked from commit 8099a6b8a545ec9e465075d2113a7c1bd44d5a3b) Signed-off-by: gaohuatao <gaohuatao@huawei.com>
38 lines
964 B
Diff
38 lines
964 B
Diff
From e21fd7de9ea37d6de7a1f5a6f5fc651777766938 Mon Sep 17 00:00:00 2001
|
|
From: lifeng68 <lifeng68@huawei.com>
|
|
Date: Thu, 10 Sep 2020 16:55:48 +0800
|
|
Subject: [PATCH 05/10] device_cgroup_rule: add support device cgroup rule
|
|
|
|
Signed-off-by: lifeng68 <lifeng68@huawei.com>
|
|
---
|
|
src/json/schema/host-config.json | 8 +++++++-
|
|
1 file changed, 7 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/src/json/schema/host-config.json b/src/json/schema/host-config.json
|
|
index 4eac222..ac54b40 100644
|
|
--- a/src/json/schema/host-config.json
|
|
+++ b/src/json/schema/host-config.json
|
|
@@ -171,6 +171,12 @@
|
|
}
|
|
}
|
|
},
|
|
+ "DeviceCgroupRules": {
|
|
+ "type": "array",
|
|
+ "items": {
|
|
+ "type": "string"
|
|
+ }
|
|
+ },
|
|
"SecurityOpt": {
|
|
"type": "array",
|
|
"items": {
|
|
@@ -259,4 +265,4 @@
|
|
"type": "string"
|
|
}
|
|
}
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|
|
--
|
|
2.20.1
|
|
|