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

Add securityContext to daemon initContainer (#16092) #16095

Merged
merged 1 commit into from
Aug 25, 2023

Conversation

maowerner
Copy link
Contributor

Summary & Motivation

In the deployment-daemon.yaml a initContainer is created for every element of userDeployment.deployments

This is not inheriting the (container-)security context Values.dagsterDaemon.securityContext like the check-db-ready initContainer or the actual daemon.

With Pod Security restrictions in place there is no way to get past the admission hook

How I tested

I tested building the helm chart und submitting it and it renders and starts. This is my first Contribution, and I followed all Guidelines I could find (wonderful template btw). If there is a formal issue, please don't hesitate to point to hit. :)

@maowerner
Copy link
Contributor Author

@alangenfeld please review :)

@alangenfeld
Copy link
Member

nice, will merge after test run

@alangenfeld alangenfeld merged commit 8378de4 into dagster-io:master Aug 25, 2023
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