-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vendor in latest containers/common with default capabilities #16733
Conversation
a349e6f
to
d307bca
Compare
test/e2e/run_security_labels_test.go
Outdated
@@ -58,7 +58,7 @@ var _ = Describe("Podman generate kube", func() { | |||
|
|||
ctr := inspect.InspectContainerToJSON() | |||
caps := strings.Join(ctr[0].EffectiveCaps, ",") | |||
Expect(caps).To(Not(Equal("CAP_SYS_ADMIN"))) | |||
Expect(caps).To(Not(Equal("CAP_SYSADMIN"))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The cap is called SYS_ADMIN
so this looks wrong, since you match with Not (Equal())
you turn this into a noop.
Can you get this working? We need this to vendor a new c/common version. |
@rhatdan To fix the build issue just append |
@Luap99 hopefully fixed, at least builds now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
builds aren't happy @rhatdan |
fdde75c
to
8521054
Compare
Also update vendor of containers/storage and image Cleanup display of added/dropped capabilties as well Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
@giuseppe @vrothberg @flouthoc @mheon This one is finally ready to merge. @containers/podman-maintainers PTAL |
LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: flouthoc, rhatdan, vrothberg The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Daniel J Walsh dwalsh@redhat.com
Does this PR introduce a user-facing change?