From 1a159f1914234355c2da43206dd0be323155c1a8 Mon Sep 17 00:00:00 2001 From: zhouhao Date: Thu, 20 Apr 2017 14:43:15 +0800 Subject: [PATCH] validate: modify the valid value of rootfsPropagation Signed-off-by: zhouhao --- validate/validate.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/validate/validate.go b/validate/validate.go index 1d71e6efa..94cc5f591 100644 --- a/validate/validate.go +++ b/validate/validate.go @@ -503,8 +503,10 @@ func (v *Validator) CheckLinux() (msgs []string) { case "rslave": case "shared": case "rshared": + case "unbindable": + case "runbindable": default: - msgs = append(msgs, "rootfsPropagation must be empty or one of \"private|rprivate|slave|rslave|shared|rshared\"") + msgs = append(msgs, "rootfsPropagation must be empty or one of \"private|rprivate|slave|rslave|shared|rshared|unbindable|runbindable\"") } for _, maskedPath := range v.spec.Linux.MaskedPaths {