Closed geeksambhu closed 1 year ago
Many thanks folks for the review!
I agree with Flavio. @geeksambhu , can we reduce the content of the test_data jsons?
It should be enough if they are pod requests, like this one for example, and also containing the relevant part of the pod spec for this policy. So, the spec.containers.securityContext
.
Hi @viccuad & @jvanz , I updated the content of test data. Please review
Description
Added e2e tests to cover the Pod Security policy scenarios These are the end-to-end scenarios covered:
Fix https://github.com/kubewarden/capabilities-psp-policy/issues/8
Test
To test this pull request, you can run the following commands:
Additional Information
Tradeoff
Potential improvement
Add more scenarios