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

securityContext duplicated in binderhub/helm-chart/binderhub/templates/container-builder/daemonset.yaml #1704

Open
rgaiacs opened this issue May 23, 2023 · 1 comment
Labels

Comments

@rgaiacs
Copy link
Contributor

rgaiacs commented May 23, 2023

securityContext is declared at

and

Should we remove the first occurence?

@rgaiacs rgaiacs added the bug label May 23, 2023
@sgaist
Copy link
Contributor

sgaist commented May 30, 2023

Hi,

No, it's on purpose. Each security context applies to the corresponding builder. In this case, you can see that the Podman builder has an additional requirement which might change in the future and does not concern the Docker builder. It's better to have that field tailored to the container definition rather than making it generic for all.
This can of course change in a future revision if all builders make use of the same security context.

Best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants