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

genpolicy: panic when we see a volume mount subpath #9139

Merged

Conversation

Redent0r
Copy link
Contributor

@Redent0r Redent0r commented Feb 23, 2024

Make tool panic when we find a yaml that has a volume mount subpath defined.

Fixes: #9145

@katacontainersbot katacontainersbot added the size/small Small and simple task label Feb 23, 2024
@Redent0r Redent0r marked this pull request as ready for review February 23, 2024 02:02
@danmihai1
Copy link
Contributor

@Redent0r Redent0r marked this pull request as draft February 23, 2024 17:10
@Redent0r Redent0r force-pushed the saulparedes/genolicy_panic_subpath branch from 930f9fd to 92de416 Compare February 23, 2024 17:17
@Redent0r Redent0r marked this pull request as ready for review February 23, 2024 17:22
Based on kata-containers/runtime#2812

Fixes: kata-containers#9145

Signed-off-by: Saul Paredes <saulparedes@microsoft.com>
@Redent0r Redent0r force-pushed the saulparedes/genolicy_panic_subpath branch from 92de416 to 9b7bd37 Compare February 23, 2024 17:56
@danmihai1
Copy link
Contributor

/test

@danmihai1
Copy link
Contributor

@fidencio , please speak up in case kata-containers/runtime#2812 is outdated. This change is based on it.

@danmihai1 danmihai1 requested a review from sprt February 28, 2024 14:34
@danmihai1 danmihai1 merged commit 11b603e into kata-containers:main Feb 29, 2024
297 of 301 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ok-to-test size/small Small and simple task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

genpolicy: panic when we see yaml that uses subPath
4 participants