-
Notifications
You must be signed in to change notification settings - Fork 246
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
Need support for adding security context #1944
Comments
Can you provide some more context, please?
|
Without more detail, I am closing this. @kaiyuanlim please do feel free to re-open the issue if you want to provide more detail. |
Sure. Context: I am enforcing security context via OPA policy https://www.openpolicyagent.org/ About your question:
So, would be nice if this has a field for security context of the pod |
I'm still not clear if this question is in reference to Brigade v1 or v2. v1's EOL is approaching in about 1 month, so new features are off the table. We could see what can be done about this in v2. v2 carefully abstracts k8s for end users, so it's really only the operator who configures/installs Brigade who's meant to interact directly with the cluster. So instead of modifying Brigadier to allow security context to be directly set on jobs, it probably make more sense to add a That seems fairly doable and it's something I'd be happy to work on if you're willing to help vet the approach and test drive the feature. |
Thinking about this more, there's probably some potential to specify something like what user or userid a job (or one of its containers) should run as without fully exposing a Kubernetes pod/container security context. That could add useful functionality without undermining the abstraction. |
Yes, can we have this in V2 then? |
Tentatively. It's going to require some experimentation and design so that we land in a good place. For now, I'm relocating this issue to the main Brigade repo. |
fatal: unsafe repository (REPO is owned by someone else)
with ubuntu 20.04 container actions/checkout#760The text was updated successfully, but these errors were encountered: