Skip to content

Commit 5d34b8c

Browse files
committed
schema: rebase for opencontainers#329
Signed-off-by: Vincent Batts <[email protected]>
1 parent 9467597 commit 5d34b8c

File tree

2 files changed

+17
-13
lines changed

2 files changed

+17
-13
lines changed

schema/schema-linux.json

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,6 @@
44
"id": "https://opencontainers.org/schema/bundle/linux",
55
"type": "object",
66
"properties": {
7-
"apparmorProfile": {
8-
"id": "https://opencontainers.org/schema/bundle/linux/apparmorProfile",
9-
"type": "string"
10-
},
11-
"capabilities": {
12-
"id": "https://opencontainers.org/schema/bundle/linux/capabilities",
13-
"$ref": "defs.json#/definitions/ArrayOfStrings"
14-
},
157
"devices": {
168
"id": "https://opencontainers.org/schema/bundle/linux/devices",
179
"oneOf": [
@@ -285,10 +277,6 @@
285277
},
286278
"type": "object"
287279
},
288-
"selinuxProcessLabel": {
289-
"id": "https://opencontainers.org/schema/bundle/linux/selinuxProcessLabel",
290-
"type": "string"
291-
},
292280
"sysctl": {
293281
"id": "https://opencontainers.org/schema/bundle/linux/sysctl",
294282
"oneOf" : [

schema/schema.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"type": "object",
6868
"required": [
6969
"cwd",
70-
"user"
70+
"args"
7171
],
7272
"properties": {
7373
"args": {
@@ -103,6 +103,22 @@
103103
"$ref": "defs.json#/definitions/ArrayOfGIDs"
104104
}
105105
}
106+
},
107+
"capabilities": {
108+
"id": "https://opencontainers.org/schema/bundle/process/linux/capabilities",
109+
"$ref": "defs.json#/definitions/ArrayOfStrings"
110+
},
111+
"apparmorProfile": {
112+
"id": "https://opencontainers.org/schema/bundle/process/linux/apparmorProfile",
113+
"type": "string"
114+
},
115+
"selinuxProcessLabel": {
116+
"id": "https://opencontainers.org/schema/bundle/process/linux/selinuxProcessLabel",
117+
"type": "string"
118+
},
119+
"noNewPrivileges": {
120+
"id": "https://opencontainers.org/schema/bundle/process/linux/noNewPrivileges",
121+
"type": "boolean"
106122
}
107123
}
108124
},

0 commit comments

Comments
 (0)