Merge pull request #4709 from AkihiroSuda/ctr-apparmor

ctr: add AppArmor flags
This commit is contained in:
Michael Crosby
2020-11-10 10:21:51 -05:00
committed by GitHub
2 changed files with 20 additions and 0 deletions

View File

@@ -163,6 +163,14 @@ var (
Name: "seccomp-profile",
Usage: "file path to custom seccomp profile. seccomp must be set to true, before using seccomp-profile",
},
cli.StringFlag{
Name: "apparmor-default-profile",
Usage: "enable AppArmor with the default profile with the specified name, e.g. \"cri-containerd.apparmor.d\"",
},
cli.StringFlag{
Name: "apparmor-profile",
Usage: "enable AppArmor with an existing custom profile",
},
}
)