Add AppArmor key to quadlet .container files

Fixes: #27095
Signed-off-by: givensuman <givensuman@duck.com>
This commit is contained in:
givensuman
2025-10-30 21:02:20 -04:00
parent 23e6a89d36
commit e7b50c33df
4 changed files with 19 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
## assert-podman-final-args localhost/imagename
## assert-podman-args "--security-opt" "apparmor=someprofilename"
[Container]
Image=localhost/imagename
AppArmor=someprofilename

View File

@@ -896,6 +896,7 @@ BOGUS=foo
runSuccessQuadletTestCase,
Entry("Basic container", "basic.container"),
Entry("annotation.container", "annotation.container"),
Entry("apparmor.container", "apparmor.container"),
Entry("autoupdate.container", "autoupdate.container"),
Entry("basepodman.container", "basepodman.container"),
Entry("capabilities.container", "capabilities.container"),