2021-11-23 10:52:33 +08:00
|
|
|
From a4ad5c5d0a428d1e603e91d14585f942e0e7453c Mon Sep 17 00:00:00 2001
|
|
|
|
|
From: chengzrz <czrzrichard@gmail.com>
|
|
|
|
|
Date: Thu, 11 Nov 2021 16:47:58 +0800
|
2021-11-24 09:30:22 +00:00
|
|
|
Subject: [PATCH 5/6] config-v2 and inspect were modified to support
|
|
|
|
|
modifications on isulad
|
2021-11-23 10:52:33 +08:00
|
|
|
|
|
|
|
|
Signed-off-by: chengzrz <czrzrichard@gmail.com>
|
|
|
|
|
---
|
|
|
|
|
src/json/schema/container/config-v2.json | 8 ++++++++
|
|
|
|
|
src/json/schema/container/inspect.json | 3 +++
|
|
|
|
|
2 files changed, 11 insertions(+)
|
|
|
|
|
|
|
|
|
|
diff --git a/src/json/schema/container/config-v2.json b/src/json/schema/container/config-v2.json
|
|
|
|
|
index c4964d4..0e64d14 100644
|
|
|
|
|
--- a/src/json/schema/container/config-v2.json
|
|
|
|
|
+++ b/src/json/schema/container/config-v2.json
|
|
|
|
|
@@ -43,6 +43,14 @@
|
|
|
|
|
"BaseFs": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
+ "NetworkSettings": {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "SandboxKey": {
|
|
|
|
|
+ "type": "string"
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
"MountPoints": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"patternProperties": {
|
|
|
|
|
diff --git a/src/json/schema/container/inspect.json b/src/json/schema/container/inspect.json
|
|
|
|
|
index 66307bc..ef7792f 100644
|
|
|
|
|
--- a/src/json/schema/container/inspect.json
|
|
|
|
|
+++ b/src/json/schema/container/inspect.json
|
|
|
|
|
@@ -182,6 +182,9 @@
|
|
|
|
|
"properties": {
|
|
|
|
|
"IPAddress": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
+ },
|
|
|
|
|
+ "SandboxKey":{
|
|
|
|
|
+ "type": "string"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
--
|
2021-11-24 09:30:22 +00:00
|
|
|
2.20.1
|
2021-11-23 10:52:33 +08:00
|
|
|
|