lcr/0001-280-Add-masked-and-readonly-path-in-host-config.patch
jake acc393551b !265 sync from upstream
* sync from upstream
2023-11-15 02:33:37 +00:00

37 lines
924 B
Diff

From dcdc428e0e48333405966e6c1188e77f8d2f550b Mon Sep 17 00:00:00 2001
From: jake <jikai11@huawei.com>
Date: Wed, 8 Nov 2023 01:09:36 +0000
Subject: [PATCH 1/6] !280 Add masked and readonly path in host config * Add
masked and readonly path in host config
---
src/json/schema/host-config.json | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/src/json/schema/host-config.json b/src/json/schema/host-config.json
index 302a537..30f1bdc 100644
--- a/src/json/schema/host-config.json
+++ b/src/json/schema/host-config.json
@@ -293,6 +293,18 @@
},
"CgroupParent": {
"type": "string"
+ },
+ "MaskedPaths": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "ReadonlyPaths": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
}
}
}
--
2.33.0