diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-10-22 16:22:38 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-22 16:22:38 -0400 |
commit | 2ca4af6c4013a8f0e338f2fe3f3969a5ae704d16 (patch) | |
tree | 385e820528bd23282918dc10b8ecb5e1773b81d7 | |
parent | a53a660313c6539c3e4a3558beb49836ca76d46f (diff) | |
parent | 914bbf5e49ad69ad7415353e209c183c0c3f5b2d (diff) | |
download | podman-2ca4af6c4013a8f0e338f2fe3f3969a5ae704d16.tar.gz podman-2ca4af6c4013a8f0e338f2fe3f3969a5ae704d16.tar.bz2 podman-2ca4af6c4013a8f0e338f2fe3f3969a5ae704d16.zip |
Merge pull request #8110 from lsm5/cap-net-raw
replace net_raw with setuid
-rw-r--r-- | test/e2e/run_security_labels.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/run_security_labels.go b/test/e2e/run_security_labels.go index 2a0b0467d..0c5621e3f 100644 --- a/test/e2e/run_security_labels.go +++ b/test/e2e/run_security_labels.go @@ -94,7 +94,7 @@ var _ = Describe("Podman generate kube", func() { test1.WaitWithDefaultTimeout() Expect(test1.ExitCode()).To(BeZero()) - commit := podmanTest.Podman([]string{"commit", "-c", "label=io.containers.capabilities=sys_chroot,net_raw", "test1", "image1"}) + commit := podmanTest.Podman([]string{"commit", "-c", "label=io.containers.capabilities=sys_chroot,setuid", "test1", "image1"}) commit.WaitWithDefaultTimeout() Expect(commit.ExitCode()).To(BeZero()) @@ -108,7 +108,7 @@ var _ = Describe("Podman generate kube", func() { ctr := inspect.InspectContainerToJSON() caps := strings.Join(ctr[0].EffectiveCaps, ",") - Expect(caps).To(Equal("CAP_SYS_CHROOT,CAP_NET_RAW")) + Expect(caps).To(Equal("CAP_SYS_CHROOT,CAP_SETUID")) }) |