Skip to content
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

Add CAP_SYS_ADMIN param to buildah task #1082

Closed
wants to merge 1 commit into from
Closed

Conversation

ralphbean
Copy link
Member

@ralphbean ralphbean commented Jun 20, 2024

This instructs buildah to use --cap-add=SYS_ADMIN.

The should be restricted by both cluster SecurityContextConstraints and supply chain policy for most situations.

The param is present for unusual situations where it is required.

This instructs buildah to use --cap-add=SYS_ADMIN.

The capability is not generally safe and should be restricted by both
cluster SecurityContextConstraints and supply chain policy for most
situations.

The param is present for unusual situations where it is required.
@chmeliik
Copy link
Contributor

#1017 does it more generically (though it would need a slightly more complex policy check I suppose). I'd prefer that one if we're ready to go through with this

@ralphbean
Copy link
Member Author

You're right! I'm going to sponsor getting that one merged and in and I'll make sure to follow up with EC.

@ralphbean
Copy link
Member Author

I pushed a rebase of it at #1084.

@ralphbean
Copy link
Member Author

Merging #1084.

@ralphbean ralphbean closed this Jun 21, 2024
@ralphbean ralphbean deleted the cap-sys-admin branch June 21, 2024 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants