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

Update securityContext fields of testing pods for runAsNonRoot user check #95

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

ramperher
Copy link
Collaborator

@ramperher ramperher commented Oct 23, 2024

Similarly to what was done for #80 in controller-manager, now this is required for pods under test too. Addressing the following test cases:

  • access-control-security-context-run-as-non-root-user-check

I've added readOnly feature as commented, just to test it in a separate PR, so that we will address access-control-security-context-read-only-file-system test

@ramperher ramperher force-pushed the certsuite-security-context-updates branch from 16c1fb3 to b744293 Compare October 24, 2024 08:59
@ramperher ramperher force-pushed the certsuite-security-context-updates branch from b744293 to 146e21f Compare October 24, 2024 11:19
@ramperher ramperher force-pushed the certsuite-security-context-updates branch 2 times, most recently from 88da63b to c4fb909 Compare October 24, 2024 12:31
@ramperher ramperher force-pushed the certsuite-security-context-updates branch from c4fb909 to f66a309 Compare October 24, 2024 13:22
@ramperher ramperher force-pushed the certsuite-security-context-updates branch from f66a309 to 9a82c40 Compare October 24, 2024 13:55
@ramperher ramperher changed the title Update securityContext fields of testing pods Update securityContext fields of testing pods for runAsNonRoot user check Oct 25, 2024
@ramperher
Copy link
Collaborator Author

Change is ready for review, the job was passing. I've finally updated the PR to just cover access-control-security-context-run-as-non-root-user-check test, I'll address the read-only test in a different PR since that deserves more investigation

Copy link
Collaborator

@manurodriguez manurodriguez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ramperher ramperher merged commit 9c4d401 into main Oct 25, 2024
1 check passed
@manurodriguez manurodriguez deleted the certsuite-security-context-updates branch October 25, 2024 14:03
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.

3 participants