Skip to content

Commit 1a159f1

Browse files
author
zhouhao
committed
validate: modify the valid value of rootfsPropagation
Signed-off-by: zhouhao <[email protected]>
1 parent 8addcc6 commit 1a159f1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

validate/validate.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,8 +503,10 @@ func (v *Validator) CheckLinux() (msgs []string) {
503503
case "rslave":
504504
case "shared":
505505
case "rshared":
506+
case "unbindable":
507+
case "runbindable":
506508
default:
507-
msgs = append(msgs, "rootfsPropagation must be empty or one of \"private|rprivate|slave|rslave|shared|rshared\"")
509+
msgs = append(msgs, "rootfsPropagation must be empty or one of \"private|rprivate|slave|rslave|shared|rshared|unbindable|runbindable\"")
508510
}
509511

510512
for _, maskedPath := range v.spec.Linux.MaskedPaths {

0 commit comments

Comments
 (0)