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 disallowed_platform_patterns #33

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

lcarva
Copy link
Collaborator

@lcarva lcarva commented Jul 31, 2024

As part of EC-726, a new policy rule,
buildah_build_task.platform_param, was added to prevent certain platforms from being used based on the value of the disallowed_platform_patterns rule data.

This commit disallows using platforms that include the root string. This is the convention used to specify rootful hosts.

For the workflows that do require rootful access, use a policy config that either disables the policy rule, or overrides the value of the rule data to an empty list.

Ref: EC-726

As part of EC-726, a new policy rule,
`buildah_build_task.platform_param`,  was added to prevent certain
platforms from being used based on the value of the
`disallowed_platform_patterns` rule data.

This commit disallows using platforms that include the `root` string.
This is the convention used to specify rootful hosts.

For the workflows that do require rootful access, use a policy config
that either disables the policy rule, or overrides the value of the rule
data to an empty list.

Ref: EC-726

Signed-off-by: Luiz Carvalho <[email protected]>
@rhartman93 rhartman93 merged commit aec8d35 into release-engineering:main Aug 1, 2024
1 check passed
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