Skip to content

Commit 13895d6

Browse files
author
Mrunal Patel
authored
Merge pull request #775 from q384566678/rootfs-enum
schema: Add enumeration to rootfsPropagation values
2 parents 138ad89 + a084798 commit 13895d6

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

schema/config-linux.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@
225225
},
226226
"rootfsPropagation": {
227227
"id": "https://opencontainers.org/schema/bundle/linux/rootfsPropagation",
228-
"type": "string"
228+
"$ref": "defs-linux.json#/definitions/RootfsPropagation"
229229
},
230230
"seccomp": {
231231
"id": "https://opencontainers.org/schema/bundle/linux/seccomp",

schema/defs-linux.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
{
22
"definitions": {
3+
"RootfsPropagation": {
4+
"type": "string",
5+
"enum": [
6+
"private",
7+
"shared",
8+
"slave",
9+
"unbindable"
10+
]
11+
},
312
"SeccompArch": {
413
"type": "string",
514
"enum": [

0 commit comments

Comments
 (0)