Skip to content

Commit

Permalink
fix #3032
Browse files Browse the repository at this point in the history
  • Loading branch information
“donghong” authored and Novicei committed Jul 21, 2022
1 parent 27acb46 commit 17f559f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cri/v1alpha2/cri_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,7 @@ func getSeccompSecurityOpts(sc *runtime.LinuxContainerSecurityContext) ([]string
}

// Return unconfined profile explicitly.
if profile == mgr.ProfileDockerDefault {
if profile == mgr.ProfileDockerDefault || profile == mgr.ProfileRuntimeDefault {
// return nil so pouch will load the default seccomp profile.
return nil, nil
}
Expand Down

0 comments on commit 17f559f

Please sign in to comment.