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

Allow the user to set a container as privileged #138

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

judahrand
Copy link

@judahrand judahrand commented Jul 7, 2022

I'm trying to set up some integration tests which need k3s to run. However, this container needs to run as privileged.

This deals with this better than #131 as it handles the possible string values passed in the .ini file.

@judahrand
Copy link
Author

@dcrosta Is this something you'd be happy to merge?

@dcrosta
Copy link
Member

dcrosta commented Mar 26, 2023

Can you say more about the use case here? I'm trying to understand how widespread this is, and whether there are any workarounds

@judahrand
Copy link
Author

Can you say more about the use case here? I'm trying to understand how widespread this is, and whether there are any workarounds

https://github.com/judahrand/sherlock/blob/83c3817690c487b181c3f2eddcc3752f61be7630/tox.ini#L46-L61

I'm using an image to perform integration testing using Kubernetes. This requires privilege.

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