Change docker/default to runtime/default

This commit is contained in:
Zhen Wang
2018-04-19 10:39:53 -07:00
parent 3856891198
commit e102633ae8
14 changed files with 75 additions and 25 deletions

View File

@@ -3173,7 +3173,7 @@ func validatePodAffinity(podAffinity *core.PodAffinity, fldPath *field.Path) fie
}
func ValidateSeccompProfile(p string, fldPath *field.Path) field.ErrorList {
if p == "docker/default" {
if p == core.SeccompProfileRuntimeDefault || p == core.DeprecatedSeccompProfileDockerDefault {
return nil
}
if p == "unconfined" {