From 7c5e5d111dac4ca554f24d2500eb15925d2a3d68 Mon Sep 17 00:00:00 2001 From: Nicolas Braud-Santoni Date: Mon, 22 Feb 2016 15:16:45 +0100 Subject: [PATCH] manifest-schema: Relax requirements for plugins This lets plugins define arbitrary datatypes for their configuration, not only objects. Also, `additionalProperties` was not specified, so entries with arbitrary names could be added. This isn't the case anymore. --- bootstrapvz/base/manifest-schema.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bootstrapvz/base/manifest-schema.yml b/bootstrapvz/base/manifest-schema.yml index 2582049..0bd0e5e 100644 --- a/bootstrapvz/base/manifest-schema.yml +++ b/bootstrapvz/base/manifest-schema.yml @@ -121,7 +121,8 @@ properties: plugins: type: object patternProperties: - ^\w+$: {type: object} + ^\w+$: {} + additionalProperties: false volume: type: object properties: